[rkward] rkward/dialogs: Add another quote for good measure.

Thomas Friedrichsmeier null at kde.org
Wed May 16 10:09:07 UTC 2018


Git commit 902b2970edfc76a86ec29ba3eb3bed5f738ba59f by Thomas Friedrichsmeier.
Committed on 16/05/2018 at 10:08.
Pushed by tfry into branch 'master'.

Add another quote for good measure.

M  +1    -1    rkward/dialogs/rkloadlibsdialog.cpp

https://commits.kde.org/rkward/902b2970edfc76a86ec29ba3eb3bed5f738ba59f

diff --git a/rkward/dialogs/rkloadlibsdialog.cpp b/rkward/dialogs/rkloadlibsdialog.cpp
index 0db6f7ac..d774ca9f 100644
--- a/rkward/dialogs/rkloadlibsdialog.cpp
+++ b/rkward/dialogs/rkloadlibsdialog.cpp
@@ -298,7 +298,7 @@ bool RKLoadLibsDialog::installPackages (const QStringList &packages, QString to_
 	QString downloaddir = QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("package_archive");
 	if (RKSettingsModuleRPackages::archivePackages ()) {
 		QDir (RKSettingsModuleGeneral::filesPath ()).mkdir ("package_archive");
-		command_string += ", destdir=\"" + downloaddir + "\"";
+		command_string += ", destdir=" + RObject::rQuote (downloaddir);
 	}
 	if (install_suggested_packages) command_string += ", dependencies=TRUE";
 	command_string += ")\n";



More information about the rkward-tracker mailing list