┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphintreeview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-12-15 17:10:59 +0000
committerPeter Penz <[email protected]>2010-12-15 17:10:59 +0000
commit221059395c44cda970039538fd8ba97a2cd873e0 (patch)
treecb93456cfbd87f9f21700564244ae4f5657b58d0 /src/views/dolphintreeview.h
parent8061c3fb90c787ae76b4d5e213cc7f84ba92f4a4 (diff)
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
Diffstat (limited to 'src/views/dolphintreeview.h')
-rw-r--r--src/views/dolphintreeview.h4
1 files changed, 2 insertions, 2 deletions
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.