summaryrefslogtreecommitdiffstats
path: root/qt-ui/locationinformation.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-06-04 00:28:18 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-03 21:44:32 -0700
commitaf22ebf3f14cd2a38921c06bf0ce2fc85d862579 (patch)
tree755da192384ebf69d79daaced96dce6731be28e6 /qt-ui/locationinformation.cpp
parent484fdee6fb8f34874a842ca7e3b81077f2a019ec (diff)
downloadsubsurface-af22ebf3f14cd2a38921c06bf0ce2fc85d862579.tar.gz
Do not set the state of the application from here.
The mainwindow should manage the mainwindow. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r--qt-ui/locationinformation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp
index c1c76bdfb..17eccf5f2 100644
--- a/qt-ui/locationinformation.cpp
+++ b/qt-ui/locationinformation.cpp
@@ -64,7 +64,6 @@ void LocationInformationWidget::setCurrentDiveSiteByUuid(uint32_t uuid)
void LocationInformationWidget::updateGpsCoordinates()
{
ui.diveSiteCoordinates->setText(printGPSCoords(displayed_dive_site.latitude.udeg, displayed_dive_site.longitude.udeg));
- MainWindow::instance()->setApplicationState("EditDiveSite");
}
void LocationInformationWidget::acceptChanges()