summaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r--core/qthelper.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index 2f94be101..d0a6e36db 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -1484,11 +1484,6 @@ extern "C" void parse_display_units(char *line)
qDebug() << line;
}
-extern "C" bool in_planner()
-{
- return getAppState() == ApplicationState::PlanDive || getAppState() == ApplicationState::EditPlannedDive;
-}
-
extern "C" enum deco_mode decoMode(bool in_planner)
{
return in_planner ? prefs.planner_deco_mode : prefs.display_deco_mode;