┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-01-04 18:19:48 +0000
committerPeter Penz <[email protected]>2009-01-04 18:19:48 +0000
commit6f38e24dbbb7d16598e07227515adbaeb91e8bee (patch)
treef7e85cd97732587b9e05c65930d4e574c5df1405
parent74f73dd2af01b8de0ad1494a55fa28a6858e0580 (diff)
Don't set the mouse button state to NoButton, this is invalid e. g. during a drag operation. The mouse button state will be updated anyhow on each item-click. This fixes the regression that the feature "automatically open folders during drag operations" did not work anymore after one level.
Thanks to Simon St. James for the good analyzes! BUG: 178630 svn path=/trunk/KDE/kdebase/apps/; revision=905622
-rw-r--r--src/dolphincontroller.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp
index 46cb74520..81cec2868 100644
--- a/src/dolphincontroller.cpp
+++ b/src/dolphincontroller.cpp
@@ -179,9 +179,6 @@ void DolphinController::triggerItem(const QModelIndex& index)
m_itemView->clearSelection();
emit itemEntered(KFileItem());
}
- m_mouseButtons = Qt::NoButton;
- } else if (m_mouseButtons & Qt::RightButton) {
- m_mouseButtons = Qt::NoButton;
}
}
@@ -195,9 +192,6 @@ void DolphinController::requestTab(const QModelIndex& index)
if (validRequest) {
emit tabRequested(item.url());
}
- m_mouseButtons = Qt::NoButton;
- } else if (m_mouseButtons & Qt::RightButton) {
- m_mouseButtons = Qt::NoButton;
}
}