mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Hopefully the Last restart string test
This commit is contained in:
parent
84b3d28dbd
commit
b0e6d88d9c
@ -283,7 +283,7 @@ void PreferencesDialog::Save()
|
||||
// In Mac OS the full path of aplication binary is:
|
||||
// <base-path>/myApp.app/Contents/MacOS/myApp
|
||||
//apppath=QApplication::instance()->applicationDirPath()+"/../../../SleepyHead.app";
|
||||
apppath=QApplication::instance()->applicationDirPath().section("/Contents/MacOS/",0,0);
|
||||
apppath=QApplication::instance()->applicationDirPath().section("/",0,-3);
|
||||
qDebug() << "Hi Jimbo! :)";
|
||||
qDebug() << "applicationFilePath:" << QApplication::instance()->applicationFilePath();
|
||||
qDebug() << "applicationDirPath:" << QApplication::instance()->applicationDirPath();
|
||||
|
Loading…
Reference in New Issue
Block a user