┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-06-10 14:09:14 +0000
committerPeter Penz <[email protected]>2009-06-10 14:09:14 +0000
commit6e745224228ea099f1834cc5b8c2dff15a0145bc (patch)
treee4f9f56fe03c938f9efc59f59bb0e2dbd79a67ff /src/dolphindetailsview.h
parent26b6d3b8ffd1071a615e95a2871096ae85dd6f93 (diff)
don't clear the selection if a toggle has been pressed
BUG: 181123 svn path=/trunk/KDE/kdebase/apps/; revision=979750
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h5
1 files changed, 5 insertions, 0 deletions
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;