From 6e745224228ea099f1834cc5b8c2dff15a0145bc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 10 Jun 2009 14:09:14 +0000 Subject: don't clear the selection if a toggle has been pressed BUG: 181123 svn path=/trunk/KDE/kdebase/apps/; revision=979750 --- src/dolphindetailsview.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphindetailsview.h') diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index 38aea12de..a66f79714 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -177,6 +177,11 @@ private: QRect nameColumnRect(const QModelIndex& index) const; + /** + * Returns true, if \a pos is within the expanding toggle of a tree. + */ + bool isAboveExpandingToggle(const QPoint& pos) const; + private: bool m_autoResize : 1; // if true, the columns are resized automatically to the available width bool m_expandingTogglePressed : 1; -- cgit v1.3