From 221059395c44cda970039538fd8ba97a2cd873e0 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 15 Dec 2010 17:10:59 +0000 Subject: Fix issue that 2 files get deleted in the details-view instead of 1 when Shift+DEL is pressed for a longer time (and the confirmation dialog has been turned off). BUG: 259656 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1206734 --- src/views/dolphintreeview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/views/dolphintreeview.h') diff --git a/src/views/dolphintreeview.h b/src/views/dolphintreeview.h index 4eb00c101..dbbc984a6 100644 --- a/src/views/dolphintreeview.h +++ b/src/views/dolphintreeview.h @@ -43,7 +43,7 @@ public: virtual QModelIndex indexAt (const QPoint& point) const; virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -protected: +protected: /** * @return True, if the item with the index \p index accepts a drop. In this * case a visual feedback for the user is given during dragging. Per @@ -95,7 +95,7 @@ private: bool isAboveExpandingToggle(const QPoint& pos) const; private: - bool m_keyPressed; // true if a key is pressed currently; info used by currentChanged() + bool m_updateCurrentIndex; bool m_expandingTogglePressed; bool m_useDefaultIndexAt; // true, if QTreeView::indexAt() should be used bool m_ignoreScrollTo; // true if calls to scrollTo(...) should do nothing. -- cgit v1.3.1