summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-01 22:50:03 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-01 22:50:03 -0800
commitcef150d7dcd75a76ac810b9cf33e90e845561129 (patch)
treec433edfdb125c69c816a05140a8a52f3f444a26a /qt-ui/mainwindow.cpp
parent864c4ce94d58d6b1bad5fa77b75cb1a9311ab889 (diff)
downloadsubsurface-cef150d7dcd75a76ac810b9cf33e90e845561129.tar.gz
User survey: always wait a week
I can't remember why I decided to show the survey immediately if someone was running a development version. Seems silly to me in retrospect. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 3ce038ba0..8703fc38a 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -919,7 +919,7 @@ void MainWindow::checkSurvey(QSettings *s)
}
// wait a week for production versions, but not at all for non-tagged builds
QString ver(VERSION_STRING);
- int waitTime = ver.contains('-') ? -1 : 7;
+ int waitTime = 7;
QDate firstUse42 = s->value("FirstUse42").toDate();
if (run_survey || (firstUse42.daysTo(QDate().currentDate()) > waitTime && !s->contains("SurveyDone"))) {
if (!survey)