[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bbluedevil=5D_src/fileitemactionplugin=3A_Ups=2C_thi?=
From: Alex Fiestas <alex () eyeos ! org>
Date: 2011-02-03 4:22:26
Message-ID: 20110203042226.1060FA609B () git ! kde ! org
[Download RAW message or body]
Git commit 07e211ba77f5bb95df1ada3713c3ff5bcf1168ed by Alex Fiestas.
Committed on 03/02/11 at 05:22.
Pushed by afiestas into branch 'master'.
Ups, this is just the other way around, with no devices we want the files.
M +5 -1 src/fileitemactionplugin/sendfileitemaction.cpp
http://commits.kde.org/bluedevil/07e211ba77f5bb95df1ada3713c3ff5bcf1168ed
diff --git a/src/fileitemactionplugin/sendfileitemaction.cpp \
b/src/fileitemactionplugin/sendfileitemaction.cpp index 09d3a57..cb5ccec 100644
--- a/src/fileitemactionplugin/sendfileitemaction.cpp
+++ b/src/fileitemactionplugin/sendfileitemaction.cpp
@@ -108,7 +108,11 @@ void SendFileItemAction::otherTriggered()
{
kDebug();
QStringList args;
- args.append("-u " + static_cast<QAction *>(sender())->data().toString());
+
+ KUrl::List fileList = m_fileItemInfos.urlList();
+ Q_FOREACH(const KUrl &url, fileList) {
+ args.append("-f " + url.path());
+ }
KProcess process;
process.setProgram("bluedevil-sendfile", args);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic