mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
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>
This commit is contained in:
parent
864c4ce94d
commit
cef150d7dc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue