mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Mac compile fix
This commit is contained in:
parent
a003674677
commit
33ca8d7680
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user