┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
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();