┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphintreeview.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2011-01-15 23:08:23 +0000
committerFrank Reininghaus <[email protected]>2011-01-15 23:08:23 +0000
commit732b46e39ace58b3f429307a4b2af707a96faef5 (patch)
treec96f22955c60b87c307cf5c2eb83d7edf6ba638e /src/views/dolphintreeview.cpp
parentaefa8ce888ffe9f8699319314672a6bc42f8d95f (diff)
Move the call "setUniformRowHeights(true)" from DolphinDetailsView's
constructor to the one of its base class DolphinTreeView. The reason is that DolphinTreeView::updateElasticBandSelection() contains "Q_ASSERT(uniformRowHeights())", so it makes sense to ensure that every DolphinTreeView has uniform row heights. This might be important for unit tests which use DolphinTreeView directly. svn path=/trunk/KDE/kdebase/apps/; revision=1214695
Diffstat (limited to 'src/views/dolphintreeview.cpp')
-rw-r--r--src/views/dolphintreeview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/views/dolphintreeview.cpp b/src/views/dolphintreeview.cpp
index 698b99f59..9e7af0dab 100644
--- a/src/views/dolphintreeview.cpp
+++ b/src/views/dolphintreeview.cpp
@@ -38,6 +38,7 @@ DolphinTreeView::DolphinTreeView(QWidget* parent) :
m_dropRect(),
m_band()
{
+ setUniformRowHeights(true);
}
DolphinTreeView::~DolphinTreeView()