aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-25 20:49:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-25 20:49:16 -0700
commitc679ed550ee96f4e757f66b94f333619ef261c60 (patch)
tree71797e35cf0967be680624250fb6cfa5b854db0e
parentd50e767fb561479c51b18f9938ec2a603623a0dc (diff)
downloadsubsurface-c679ed550ee96f4e757f66b94f333619ef261c60.tar.gz
Don't show the survey for the mobile app
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 4463cb195..ed7c62c62 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -1094,11 +1094,13 @@ void MainWindow::readSettings()
}
QNetworkProxy::setApplicationProxy(proxy);
+#if !defined(SUBSURFACE_MOBILE)
loadRecentFiles(&s);
if (firstRun) {
checkSurvey(&s);
firstRun = false;
}
+#endif
}
#undef TOOLBOX_PREF_BUTTON