summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-06 10:59:26 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-06 10:59:26 -0700
commit4c252d8e2323d98ee7fd06f5e0aadf6374b2c124 (patch)
tree53c22b612a3fde1a6d642a9b448abd20b962e565
parent98e374e65a061b1cbaccd31398e54403def339c1 (diff)
downloadsubsurface-4c252d8e2323d98ee7fd06f5e0aadf6374b2c124.tar.gz
Remove unused static function
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp
index e28d1c443..aaa85c634 100644
--- a/qt-ui/profile/divecartesianaxis.cpp
+++ b/qt-ui/profile/divecartesianaxis.cpp
@@ -366,11 +366,6 @@ QColor DepthAxis::colorForValue(double value)
return QColor(Qt::red);
}
-static bool isPPGraphEnabled()
-{
- return prefs.pp_graphs.po2 || prefs.pp_graphs.pn2 || prefs.pp_graphs.phe;
-}
-
DepthAxis::DepthAxis()
{
connect(PreferencesDialog::instance(), SIGNAL(settingsChanged()), this, SLOT(settingsChanged()));