[rkward-cvs] SF.net SVN: rkward-code:[4719] trunk/rkward/rkward/rbackend/ rkfrontendtransmitter.cpp
tfry at users.sf.net
tfry at users.sf.net
Thu Apr 25 07:54:04 UTC 2013
Revision: 4719
http://sourceforge.net/p/rkward/code/4719
Author: tfry
Date: 2013-04-25 07:54:03 +0000 (Thu, 25 Apr 2013)
Log Message:
-----------
More visible message in case the backend executable could not be found.
Modified Paths:
--------------
trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp
Modified: trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp
===================================================================
--- trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp 2013-04-24 18:06:17 UTC (rev 4718)
+++ trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp 2013-04-25 07:54:03 UTC (rev 4719)
@@ -81,7 +81,7 @@
#ifdef Q_WS_MAC
if (backend_executable.isEmpty ()) backend_executable = KStandardDirs::findExe (QDir::toNativeSeparators (QCoreApplication::applicationDirPath () + "/../../../rbackend/rkward.rbackend"));
#endif
- RK_ASSERT (!backend_executable.isEmpty ());
+ if (backend_executable.isEmpty ()) handleTransmissionError (i18n ("The backend executable could not be found. This is likely to be a problem with your installation."));
QString debugger = RKGlobals::startup_options["backend-debugger"].toString ();
if (!debugger.isEmpty ()) {
args.prepend (backend_executable);
More information about the rkward-tracker
mailing list