[rkward] rkward: Fix debug statement

Thomas Friedrichsmeier null at kde.org
Sun Apr 29 07:22:06 UTC 2018


Git commit 2b96b4595cd445ccb43573f7b1e902da48da6946 by Thomas Friedrichsmeier.
Committed on 29/04/2018 at 07:21.
Pushed by tfry into branch 'master'.

Fix debug statement

M  +1    -1    rkward/rkward.cpp

https://commits.kde.org/rkward/2b96b4595cd445ccb43573f7b1e902da48da6946

diff --git a/rkward/rkward.cpp b/rkward/rkward.cpp
index 01baef62..30b8fffb 100644
--- a/rkward/rkward.cpp
+++ b/rkward/rkward.cpp
@@ -202,7 +202,7 @@ void RKWardMainWindow::doPostInit () {
 	QFile resource_ver (RKCommonFunctions::getRKWardDataDir () + "resource.ver");
 	if (!(resource_ver.open (QIODevice::ReadOnly) && (resource_ver.read (100).trimmed () == RKWARD_VERSION))) {
 		KMessageBox::error (this, i18n ("<p>RKWard either could not find its resource files at all, or only an old version of those files. The most likely cause is that the last installation failed to place the files in the correct place. This can lead to all sorts of problems, from single missing features to complete failure to function.</p><p><b>You should quit RKWard, now, and fix your installation</b>. For help with that, see <a href=\"http://rkward.kde.org/compiling\">http://rkward.kde.org/compiling</a>.</p>"), i18n ("Broken installation"), KMessageBox::Notify | KMessageBox::AllowLink);
-		RK_DEBUG(APP, DL_WARNING, "resource.ver not found. Data path(s): %s", QStandardPaths::standardLocations (QStandardPaths::GenericDataLocation).join (':'));
+		RK_DEBUG(APP, DL_WARNING, "resource.ver not found. Data path(s): %s", qPrintable (QStandardPaths::standardLocations (QStandardPaths::GenericDataLocation).join (':')));
 	}
 
 	QStringList open_urls = RKGlobals::startup_options.take ("initial_urls").toStringList ();



More information about the rkward-tracker mailing list