[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [konversation/frameworks] src/irc: Reenable filedrops in the nicklist
From: Peter Simonsson <peter.simonsson () gmail ! com>
Date: 2014-08-09 11:38:39
Message-ID: E1XG4yt-00066Y-8D () scm ! kde ! org
[Download RAW message or body]
Git commit 0b580eac0ee61012928191a2c3b6cea1e0f40c12 by Peter Simonsson.
Committed on 09/08/2014 at 11:38.
Pushed by psn into branch 'frameworks'.
Reenable filedrops in the nicklist
CCBUG:337522
M +1 -3 src/irc/nicklistview.cpp
http://commits.kde.org/konversation/0b580eac0ee61012928191a2c3b6cea1e0f40c12
diff --git a/src/irc/nicklistview.cpp b/src/irc/nicklistview.cpp
index a1d4589..7407839 100644
--- a/src/irc/nicklistview.cpp
+++ b/src/irc/nicklistview.cpp
@@ -307,16 +307,14 @@ void NickListView::dragMoveEvent(QDragMoveEvent *event)
bool NickListView::dropMimeData(QTreeWidgetItem *parent, int index, const QMimeData \
*data, Qt::DropAction action) {
- /* FIXME KF5 port
Q_UNUSED(index);
Q_UNUSED(action);
Nick* nick = dynamic_cast<Nick*>(parent);
if (nick) {
- const KUrl::List uris = KUrl::List::fromMimeData(data);
+ const QList<QUrl> uris = KUrlMimeData::urlsFromMimeData(data);
channel->getServer()->sendURIs(uris, nick->getChannelNick()->getNickname());
return true;
}
- */
return false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic