┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2009-12-13 18:18:08 +0000
committerFrank Reininghaus <[email protected]>2009-12-13 18:18:08 +0000
commita2365b6ed82a4d85fffaa06e51c1c458c301e79d (patch)
treee952a71ed4cf8c567bb135c0c67b1db69be92627 /src/dolphindetailsview.h
parent5d5d5c8e803159857bc29a7f83077426d5694a17 (diff)
Reimplement visualRegionForSelection in DolpinDetailsView.
Fixes the problem that not the entire area affected by changing the selection gets updated. QTreeView::visualRegionForSelection assumes implicitly that the visualRects of all items have the same width, which is not the case here. Fix will be in KDE 4.4 Beta 2. BUG: 218114 svn path=/trunk/KDE/kdebase/apps/; revision=1062076
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h
index 30e126cd4..3bd62d33f 100644
--- a/src/dolphindetailsview.h
+++ b/src/dolphindetailsview.h
@@ -52,6 +52,8 @@ public:
*/
QSet<KUrl> expandedUrls() const;
+ virtual QRegion visualRegionForSelection(const QItemSelection & selection) const;
+
protected:
virtual bool event(QEvent* event);
virtual QStyleOptionViewItem viewOptions() const;