X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2Fnetworkmodel.cpp;h=e3739ae617e835e67541c6142e5f168a1e51c88d;hb=d28b9ec38b6ea0bc473200fc2f1e65abd1b56bd6;hp=59485da85f1745983068cb0d1b39c93683c0cfb9;hpb=d1b6499b0b848d4287efae89107576548533502c;p=quassel.git diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 59485da8..e3739ae6 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -527,14 +527,14 @@ bool NetworkModel::dropMimeData(const QMimeData *data, Qt::DropAction action, in if(targetType != BufferItem::QueryType) return false; - QList< QPair > bufferList = mimeDataToBufferList(data); + QList< QPair > bufferList = mimeDataToBufferList(data); // exactly one buffer has to be dropped if(bufferList.count() != 1) return false; - uint netId = bufferList.first().first; - uint bufferId = bufferList.first().second; + NetworkId netId = bufferList.first().first; + BufferId bufferId = bufferList.first().second; // no self merges (would kill us) if(bufferId == parent.data(BufferIdRole).value())