Skip updates check on new version

This commit is contained in:
Mark Watkins 2011-10-30 20:44:30 +10:00
parent 792dd88af4
commit 013ae7470b

View File

@ -111,6 +111,7 @@ int main(int argc, char *argv[])
QString V=PREF["VersionString"].toString(); QString V=PREF["VersionString"].toString();
if (V!=Version) { if (V!=Version) {
QMessageBox::warning(0,"New Version Warning","This is a new version of SleepyHead. If you experience a crash right after clicking Ok, you will need to manually delete the SleepApp folder (it's located in your Documents folder) and reimport your data. After this things should work normally.",QMessageBox::Ok); QMessageBox::warning(0,"New Version Warning","This is a new version of SleepyHead. If you experience a crash right after clicking Ok, you will need to manually delete the SleepApp folder (it's located in your Documents folder) and reimport your data. After this things should work normally.",QMessageBox::Ok);
check_updates=false;
} }
} }
ProfileSelect profsel(0); ProfileSelect profsel(0);