diff options
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index ab01794af..28e4d7415 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -809,6 +809,7 @@ const char *getSetting(QSettings &s, QString name) void MainWindow::readSettings() { + static bool firstRun = true; QSettings s; s.beginGroup("Display"); QFont defaultFont = QFont(default_prefs.divelist_font); @@ -848,9 +849,11 @@ void MainWindow::readSettings() } QNetworkProxy::setApplicationProxy(proxy); - loadRecentFiles(&s); - checkSurvey(&s); + if (firstRun) { + checkSurvey(&s); + firstRun = false; + } } #undef TOOLBOX_PREF_BUTTON |