Mac compile fix

This commit is contained in:
Mark Watkins 2011-11-07 14:29:07 +10:00
parent a003674677
commit 33ca8d7680

View File

@ -280,7 +280,7 @@ void PreferencesDialog::Save()
// In Mac OS the full path of aplication binary is: // In Mac OS the full path of aplication binary is:
// <base-path>/myApp.app/Contents/MacOS/myApp // <base-path>/myApp.app/Contents/MacOS/myApp
QStringList args; QStringList args;
args << (this->applicationDirPath() + "/../../../SleepyHead.app"); args << (QApplication::instance()->applicationDirPath() + "/../../../SleepyHead.app");
proc.startDetached("open", args); proc.startDetached("open", args);
#else #else
//#ifdef Q_OS_WIN //#ifdef Q_OS_WIN