Change in kio[master]: kioexec: fix bug in the port to QCommandLineParser

David Faure (Code Review) noreply at kde.org
Tue Dec 30 08:39:25 UTC 2014


David Faure has uploaded a new change for review.

  https://gerrit.vesnicky.cesnet.cz/r/284

Change subject: kioexec: fix bug in the port to QCommandLineParser
......................................................................

kioexec: fix bug in the port to QCommandLineParser

Change-Id: I9c67e763a9272ac36232c384063b56592f9d4442
---
M src/kioexec/main.cpp
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.vesnicky.cesnet.cz:29418/kio refs/changes/84/284/1

diff --git a/src/kioexec/main.cpp b/src/kioexec/main.cpp
index c61ea59..e3c3031 100644
--- a/src/kioexec/main.cpp
+++ b/src/kioexec/main.cpp
@@ -300,7 +300,9 @@
         return -1;
     }
 
-    KIOExec exec(parser.positionalArguments(), parser.isSet(QStringLiteral("tempfiles")), QLatin1String("suggestedfilename"));
+    const bool tempfiles = parser.isSet(QStringLiteral("tempfiles"));
+    const QString suggestedfilename = parser.value(QStringLiteral("suggestedfilename"));
+    KIOExec exec(parser.positionalArguments(), tempfiles, suggestedfilename);
 
     // Don't go into the event loop if we already want to exit (#172197)
     if (exec.exited())

-- 
To view, visit https://gerrit.vesnicky.cesnet.cz/r/284
To unsubscribe, visit https://gerrit.vesnicky.cesnet.cz/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c67e763a9272ac36232c384063b56592f9d4442
Gerrit-PatchSet: 1
Gerrit-Project: kio
Gerrit-Branch: master
Gerrit-Owner: David Faure <faure at kde.org>
Gerrit-Reviewer: Aleix Pol Gonzalez <aleixpol at kde.org>


More information about the Kde-frameworks-devel mailing list