From 732b46e39ace58b3f429307a4b2af707a96faef5 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Sat, 15 Jan 2011 23:08:23 +0000 Subject: 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 --- src/views/dolphindetailsview.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/views/dolphindetailsview.cpp') diff --git a/src/views/dolphindetailsview.cpp b/src/views/dolphindetailsview.cpp index d825153f3..d434a4b3d 100644 --- a/src/views/dolphindetailsview.cpp +++ b/src/views/dolphindetailsview.cpp @@ -66,7 +66,6 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, setLayoutDirection(Qt::LeftToRight); setAcceptDrops(true); setSortingEnabled(true); - setUniformRowHeights(true); setSelectionBehavior(SelectItems); setDragDropMode(QAbstractItemView::DragDrop); setDropIndicatorShown(false); -- cgit v1.3