aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-15 20:34:57 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-15 17:05:46 -0700
commit4c8e9615e4c795262d495a9c3e85da7e0a4b27b4 (patch)
tree6a8e41d1c629577ed63a01e084e287ff8c9e2814
parente38595f68450011f24f45e45900dbb2119ce8355 (diff)
downloadsubsurface-4c8e9615e4c795262d495a9c3e85da7e0a4b27b4.tar.gz
Remove uneeded function
This method was being unused, rip it off. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/maintab.cpp5
-rw-r--r--qt-ui/maintab.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 050cf32f6..2e5aaf086 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -1079,11 +1079,6 @@ void MainTab::updateGpsCoordinates(const struct dive *dive)
}
}
-QString MainTab::trHemisphere(const char *orig)
-{
- return tr(orig);
-}
-
void MainTab::escDetected()
{
if (editMode != NONE)
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 3500e7ef1..8f690b5c9 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -84,7 +84,6 @@ slots:
void enableEdition(EditMode newEditMode = NONE);
void toggleTriggeredColumn();
void updateTextLabels(bool showUnits = true);
- QString trHemisphere(const char *orig);
void escDetected(void);
void photoDoubleClicked(const QString filePath);