[rkward-cvs] SF.net SVN: rkward-code:[4826] trunk/rkward/rkward/rkward_startup_wrapper. cpp

tfry at users.sf.net tfry at users.sf.net
Tue Sep 16 12:10:38 UTC 2014


Revision: 4826
          http://sourceforge.net/p/rkward/code/4826
Author:   tfry
Date:     2014-09-16 12:10:36 +0000 (Tue, 16 Sep 2014)
Log Message:
-----------
... really support running directly from build tree on Mac

Modified Paths:
--------------
    trunk/rkward/rkward/rkward_startup_wrapper.cpp

Modified: trunk/rkward/rkward/rkward_startup_wrapper.cpp
===================================================================
--- trunk/rkward/rkward/rkward_startup_wrapper.cpp	2014-09-16 12:04:34 UTC (rev 4825)
+++ trunk/rkward/rkward/rkward_startup_wrapper.cpp	2014-09-16 12:10:36 UTC (rev 4826)
@@ -170,7 +170,7 @@
 
 	QString rkward_frontend_exe = findRKWardAtPath (app.applicationDirPath ());	// this is for running directly from a build tree
 #ifdef Q_WS_MAC
-	if (rkward_frontend_exe.isNull ()) rkward_frontend_exe = findRKWardAtPath ("rkward.frontend.app/Contents/MacOS"); 	// this is for running directly from a build tree
+	if (rkward_frontend_exe.isNull ()) rkward_frontend_exe = findRKWardAtPath (app.applicationDirPath () + "/rkward.frontend.app/Contents/MacOS"); 	// this is for running directly from a build tree
 #endif
 	if (rkward_frontend_exe.isNull ()) rkward_frontend_exe = findRKWardAtPath (RKWARD_FRONTEND_LOCATION);
 	if (rkward_frontend_exe.isNull ()) rkward_frontend_exe = findRKWardAtPath (kde_dir.absoluteFilePath ("bin"));





More information about the rkward-tracker mailing list