Update Main.cpp version checks.

This commit is contained in:
comex 2014-11-19 14:49:56 -05:00
parent e631f68c1b
commit 759ea3bce7
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
static bool IsOsSupported()
{
#ifdef Q_OS_OSX
return QSysInfo::MacintoshVersion >= QSysInfo::MV_10_7;
return QSysInfo::MacintoshVersion >= QSysInfo::MV_10_9;
#elif defined(Q_OS_WIN)
return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_VISTA;
#else
@ -28,7 +28,7 @@ static bool IsOsSupported()
static QString LowestSupportedOsVersion()
{
#ifdef Q_OS_OSX
return SL("Mac OS X 10.7");
return SL("Mac OS X 10.9");
#elif defined(Q_OS_WIN)
return SL("Windows Vista SP2");
#else

View File

@ -241,12 +241,12 @@ bool DolphinApp::OnInit()
#endif
#ifdef __APPLE__
if (floor(NSAppKitVersionNumber) < NSAppKitVersionNumber10_7)
if (floor(NSAppKitVersionNumber) < NSAppKitVersionNumber10_9)
{
PanicAlertT("Hi,\n\nDolphin requires Mac OS X 10.7 or greater.\n"
PanicAlertT("Hi,\n\nDolphin requires Mac OS X 10.9 or greater.\n"
"Unfortunately you're running an old version of OS X.\n"
"The last Dolphin version to support OS X 10.6 is Dolphin 3.5\n"
"Please upgrade to 10.7 or greater to use the newest Dolphin version.\n\n"
"Please upgrade to 10.9 or greater to use the newest Dolphin version.\n\n"
"Sayonara!\n");
return false;
}