┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-09-26 06:12:44 +0000
committerPeter Penz <[email protected]>2007-09-26 06:12:44 +0000
commit96d892bc47c652676f380193a3bc298c3a62c2ea (patch)
tree6d2a5fd89d4c766ff9a9cbbcdda0fbb5f06b9d3a /src/dolphindetailsview.cpp
parentc364f1b47ab4a3f95d246cc433fad6a68939312a (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717133
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp3
1 files changed, 1 insertions, 2 deletions
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();