Skip to content

Commit f9e5c41

Browse files
committed
Merge commit '943c9329ee8cd90d42a6b2001c1b6d357ff758b4'
2 parents 0488a0b + 943c932 commit f9e5c41

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

agrolib/meteoWidget/meteoWidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3091,8 +3091,8 @@ void Crit3DMeteoWidget::on_actionAddStation()
30913091
QString station = stationId+"_"+stationsName;
30923092
allStations << station;
30933093
}
3094+
DialogAddStation selectStation(allStations);
30943095

3095-
DialogAddStation dialogAddStation(allStations, _allMeteoPointsPointer, _meteoPoints);
30963096
}
30973097

30983098
void Crit3DMeteoWidget::on_actionInfoPoint()

agrolib/meteoWidget/meteoWidget.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
void setIsEnsemble(bool value);
2424
bool getIsEnsemble() { return _isEnsemble; }
2525
void setNrMembers(int value) { _nrMembers = value; }
26-
void setAllMeteoPointsPointer(Crit3DMeteoPoint* pointer, int nrAllMeteoPoints) { _allMeteoPointsPointer = pointer; _nrAllMeteoPoints = nrAllMeteoPoints;}
26+
void setAllMeteoPointsPointer(Crit3DMeteoPoint* pointer) { _allMeteoPointsPointer = pointer; }
2727

2828
void setFrequency(frequencyType frequency);
2929

@@ -44,8 +44,6 @@
4444
bool _isEnsemble;
4545
bool _isInitialized;
4646
int _nrMembers;
47-
int _nrAllMeteoPoints;
48-
4947

5048
QVector<Crit3DMeteoPoint> _meteoPoints;
5149
QVector<Crit3DMeteoPoint> _meteoPointsEnsemble;

agrolib/project/project.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4173,7 +4173,7 @@ void Project::showMeteoWidgetPoint(std::string idMeteoPoint, std::string namePoi
41734173
meteoWidgetId = 0;
41744174
}
41754175
meteoWidgetPoint->setMeteoWidgetID(meteoWidgetId);
4176-
meteoWidgetPoint->setAllMeteoPointsPointer(meteoPoints, nrMeteoPoints);
4176+
meteoWidgetPoint->setAllMeteoPointsPointer(meteoPoints);
41774177
meteoWidgetPointList.append(meteoWidgetPoint);
41784178
QObject::connect(meteoWidgetPoint, SIGNAL(closeWidgetPoint(int)), this, SLOT(deleteMeteoWidgetPoint(int)));
41794179
meteoPointsDbHandler->loadDailyData(getCrit3DDate(firstDaily), getCrit3DDate(lastDaily), mp);

0 commit comments

Comments
 (0)