[rkward-cvs] SF.net SVN: rkward-code:[4728] trunk/rkward/rkward/rbackend/ rkfrontendtransmitter.cpp

tfry at users.sf.net tfry at users.sf.net
Sat Apr 27 06:21:37 UTC 2013


Revision: 4728
          http://sourceforge.net/p/rkward/code/4728
Author:   tfry
Date:     2013-04-27 06:21:35 +0000 (Sat, 27 Apr 2013)
Log Message:
-----------
Slightly better error message, if backend could not be started at all.

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp

Modified: trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp
===================================================================
--- trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp	2013-04-26 10:36:30 UTC (rev 4727)
+++ trunk/rkward/rkward/rbackend/rkfrontendtransmitter.cpp	2013-04-27 06:21:35 UTC (rev 4728)
@@ -157,7 +157,9 @@
 void RKFrontendTransmitter::backendExit (int exitcode) {
 	RK_TRACE (RBACKEND);
 
-	handleTransmissionError ("Backend process has exited with code " + QString::number (exitcode));
+	if (!exitcode && token.isEmpty ()) handleTransmissionError (i18n ("The backend process could not be started. Please check your installation."));
+	else if (token.isEmpty ()) handleTransmissionError (i18n ("The backend process failed to start with exit code %1.", exitcode));
+	else handleTransmissionError (i18n ("Backend process has exited with code %1.", exitcode));
 }
 
 void RKFrontendTransmitter::writeRequest (RBackendRequest *request) {





More information about the rkward-tracker mailing list