projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dfd2ab
)
fixing buffer reordering issues
author
Marcus Eggenberger
<egs@quassel-irc.org>
Mon, 9 Feb 2009 19:48:00 +0000
(20:48 +0100)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Mon, 9 Feb 2009 19:48:00 +0000
(20:48 +0100)
src/uisupport/bufferviewfilter.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/bufferviewfilter.cpp
b/src/uisupport/bufferviewfilter.cpp
index
5a026c9
..
7179f26
100644
(file)
--- a/
src/uisupport/bufferviewfilter.cpp
+++ b/
src/uisupport/bufferviewfilter.cpp
@@
-198,7
+198,7
@@
bool BufferViewFilter::dropMimeData(const QMimeData *data, Qt::DropAction action
row = 0;
if(row < rowCount(parent)) {
- QModelIndex source_child =
sourceModel()->index(row, 0, parent
);
+ QModelIndex source_child =
mapToSource(index(row, 0, parent)
);
BufferId beforeBufferId = sourceModel()->data(source_child, NetworkModel::BufferIdRole).value<BufferId>();
pos = config()->bufferList().indexOf(beforeBufferId);
if(_sortOrder == Qt::DescendingOrder)