summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-08-18 10:03:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-18 06:42:01 -0700
commit72806e42bc23ab7c7f2a639a1efee017388b53bc (patch)
treef367ec161dec60ad7247322cd8a603fc4a3a91d1 /qt-ui/mainwindow.h
parent4e89a6020ec02fdc7a7af9b59ef918cb610f5a76 (diff)
downloadsubsurface-72806e42bc23ab7c7f2a639a1efee017388b53bc.tar.gz
Replace global in_planner variable by helper function
as promised earlier Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 583dc591a..4df1d1238 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -89,6 +89,7 @@ public:
void printPlan();
void checkSurvey(QSettings *s);
void setApplicationState(const QByteArray& state);
+ bool inPlanner();
QUndoStack *undoStack;
NotificationWidget *getNotificationWidget();
void enableDisableCloudActions();