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
This commit is contained in:
Peter Penz 2007-09-26 06:12:44 +00:00
parent c364f1b47a
commit 96d892bc47

View file

@ -120,8 +120,7 @@ bool DolphinDetailsView::event(QEvent* event)
QHeaderView* headerView = header(); QHeaderView* headerView = header();
headerView->setStretchLastSection(false); headerView->setStretchLastSection(false);
headerView->setResizeMode(QHeaderView::ResizeToContents); headerView->setResizeMode(QHeaderView::ResizeToContents);
headerView->setMinimumSectionSize(-1); headerView->setResizeMode(0, QHeaderView::Stretch);
headerView->setDefaultSectionSize(viewport()->width());
// hide columns if this is indicated by the settings // hide columns if this is indicated by the settings
const DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings(); const DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings();