mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +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
 | 	// wait a week for production versions, but not at all for non-tagged builds
 | ||||||
| 	QString ver(VERSION_STRING); | 	QString ver(VERSION_STRING); | ||||||
| 	int waitTime = ver.contains('-') ? -1 : 7; | 	int waitTime = 7; | ||||||
| 	QDate firstUse42 = s->value("FirstUse42").toDate(); | 	QDate firstUse42 = s->value("FirstUse42").toDate(); | ||||||
| 	if (run_survey || (firstUse42.daysTo(QDate().currentDate()) > waitTime && !s->contains("SurveyDone"))) { | 	if (run_survey || (firstUse42.daysTo(QDate().currentDate()) > waitTime && !s->contains("SurveyDone"))) { | ||||||
| 		if (!survey) | 		if (!survey) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue