summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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