From: Peter Penz Date: Wed, 26 Sep 2007 06:12:44 +0000 (+0000) Subject: Revert last patch which should fix the "name column can get too small issue" - turnin... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/96d892bc47c652676f380193a3bc298c3a62c2ea Revert last patch which should fix the "name column can get too small issue" - turning off the automatical resizing is no good solution. I'll submit another fix during this week... CCMAIL: ereslibre@gmail.com svn path=/trunk/KDE/kdebase/apps/; revision=717133 --- diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 07a203751..2eca0860c 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -120,8 +120,7 @@ bool DolphinDetailsView::event(QEvent* event) QHeaderView* headerView = header(); headerView->setStretchLastSection(false); headerView->setResizeMode(QHeaderView::ResizeToContents); - headerView->setMinimumSectionSize(-1); - headerView->setDefaultSectionSize(viewport()->width()); + headerView->setResizeMode(0, QHeaderView::Stretch); // hide columns if this is indicated by the settings const DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings();