X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f9f4dbf005f63d9e1d14acbe21beab6e0fc26b36..4062c4cf2d9c3a6716ced8686fa2e2324261c0ec:/src/klistview.cpp diff --git a/src/klistview.cpp b/src/klistview.cpp index 553c4e400..0c65b9141 100644 --- a/src/klistview.cpp +++ b/src/klistview.cpp @@ -486,6 +486,10 @@ void KListView::setItemCategorizer(KItemCategorizer *itemCategorizer) { rowsInserted(QModelIndex(), 0, d->proxyModel->rowCount() - 1); } + else + { + updateGeometries(); + } } QModelIndex KListView::indexAt(const QPoint &point) const @@ -814,6 +818,13 @@ void KListView::leaveEvent(QEvent *event) viewport()->update(); } +void KListView::startDrag(Qt::DropActions supportedActions) +{ + d->mouseButtonPressed = false; + + QListView::startDrag(supportedActions); +} + void KListView::rowsInserted(const QModelIndex &parent, int start, int end)