summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-09-30 19:06:05 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-30 19:24:27 -0400
commit2794af41664a22736b796c3d152b4cca04ef3ea1 (patch)
tree86d8de0f17bd3ac5f5db482a2d7a3537caa92ef2 /qt-ui
parent83b14629d88038b6e2ac2fbb1d9cfe66fe1da7b9 (diff)
downloadsubsurface-2794af41664a22736b796c3d152b4cca04ef3ea1.tar.gz
Remove unused code
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index e7b6a33b3..8857e3b4f 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -430,10 +430,6 @@ void MainTab::refreshDiveInfo()
void MainTab::updateDiveInfo(bool clear)
{
- // I don't like this code here - but globe() wasn't initialized on the constructor.
- {
- }
-
ui.location->refreshDiveSiteCache();
EditMode rememberEM = editMode;
// don't execute this while adding / planning a dive