Skip to content

Commit

Permalink
fix tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Jan 30, 2025
1 parent e68f2e5 commit 59c9125
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agrolib/graphics/stationMarker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ void StationMarker::setToolTip()
QString municipality = QString::fromStdString(_municipality);
QString lapseRateName = QString::fromStdString(getLapseRateCodeName(_lapseRateCode));

QString toolTipText = QString("Point: <b> %1 </b> <br/> ID: %2 <br/> dataset: %3 <br/> altitude: %4 m <br/> region: %5 <br/> province: %6 <br/> <br/> municipality: %7 <br/> <br/> lapse rate code: %8")
QString toolTipText = QString("Point: <b> %1 </b> <br/> ID: %2 <br/> dataset: %3 <br/> altitude: %4 m <br/>"
"<br/> municipality: %7 <br/> province: %6 <br/> region: %5 <br/> <br/> lapse rate code: %8")
.arg(name, idpoint, dataset, altitude, region, province, municipality, lapseRateName);

double value = currentValue();
Expand Down

0 comments on commit 59c9125

Please sign in to comment.