From 1e5fc66d0ecfc33711655801299964c956755935 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 25 Aug 2011 16:29:47 +1000 Subject: [PATCH] Warning: Mega graph overhaul --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index c69179c0..c9dc0cb1 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -83,10 +83,10 @@ MainWindow::MainWindow(QWidget *parent) : pref["AppName"]="SleepyHead"; QString Version=QString("%1.%2.%3").arg(major_version).arg(minor_version).arg(revision_number); - //if (pref.Exists("VersionString") && pref["VersionString"]!=Version) { + if (pref.Exists("VersionString") && pref["VersionString"]!=Version) { //QMessageBox::warning(this,"Potential Crash 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 things should then work normally.",QMessageBox::Ok); QMessageBox::warning(this,"Notice","Hi, I'm currently in the middle of a large rewrite of graphing system components. Things aren't finished and some features are missing.. The mac/windows scrolling glitches show be gone now, but the new mouse handling isn't complete (ie, things will suck). This annoying message will go away when I'm done with it.",QMessageBox::Ok); - //} + } pref["VersionString"]=Version; if (!pref.Exists("Profile")) pref["Profile"]=getUserName();