From 2794af41664a22736b796c3d152b4cca04ef3ea1 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 30 Sep 2015 19:06:05 -0300 Subject: [PATCH] Remove unused code Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 4 ---- 1 file changed, 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