From 33ca8d7680b06db73c838ed5e4ad5015e0906cf1 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 7 Nov 2011 14:29:07 +1000 Subject: [PATCH] Mac compile fix --- preferencesdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index d8bc9c3d..9b0bbe4c 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -280,7 +280,7 @@ void PreferencesDialog::Save() // In Mac OS the full path of aplication binary is: // /myApp.app/Contents/MacOS/myApp QStringList args; - args << (this->applicationDirPath() + "/../../../SleepyHead.app"); + args << (QApplication::instance()->applicationDirPath() + "/../../../SleepyHead.app"); proc.startDetached("open", args); #else //#ifdef Q_OS_WIN