mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Use current dive site to get the information
and not the displayed_dive_site. tsc. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bea24edc29
commit
127f3b7da1
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ void LocationFilterDelegate::paint(QPainter *painter, const QStyleOptionViewItem
|
|||
}
|
||||
|
||||
if (bottomText.isEmpty()) {
|
||||
const char *gpsCoords = printGPSCoords(displayed_dive_site.latitude.udeg, displayed_dive_site.longitude.udeg);
|
||||
const char *gpsCoords = printGPSCoords(ds->latitude.udeg, ds->longitude.udeg);
|
||||
bottomText = QString(gpsCoords);
|
||||
free( (void*) gpsCoords);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue