From cef150d7dcd75a76ac810b9cf33e90e845561129 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 1 Jan 2015 22:50:03 -0800 Subject: [PATCH] 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 --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)