From 6f38e24dbbb7d16598e07227515adbaeb91e8bee Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 4 Jan 2009 18:19:48 +0000 Subject: [PATCH] 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 --- src/dolphincontroller.cpp | 6 ------ 1 file changed, 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; } } -- 2.47.3