]> cloud.milkyroute.net Git - dolphin.git/commitdiff
use the fixed resizing mode (it is assured that each column stays readable)
authorPeter Penz <peter.penz19@gmail.com>
Wed, 26 Sep 2007 13:34:28 +0000 (13:34 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 26 Sep 2007 13:34:28 +0000 (13:34 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=717263

src/dolphindetailsview.cpp

index 3170f6c909661456557040a9de6803affd4c0abe..b15de900ba2a7c7a5f1f2a1618b9f43ec7a8e783 100644 (file)
@@ -309,7 +309,7 @@ void DolphinDetailsView::resizeEvent(QResizeEvent* event)
     if (useFixedWidth) {
         // the current width of the name-column is too small, hence
         // use a fixed size
     if (useFixedWidth) {
         // the current width of the name-column is too small, hence
         // use a fixed size
-        headerView->setResizeMode(QHeaderView::Interactive);
+        headerView->setResizeMode(QHeaderView::Fixed);
         headerView->setResizeMode(0, QHeaderView::Fixed);
         headerView->resizeSection(KDirModel::Name, minWidth);
     } else if (headerView->resizeMode(0) != QHeaderView::Stretch) {
         headerView->setResizeMode(0, QHeaderView::Fixed);
         headerView->resizeSection(KDirModel::Name, minWidth);
     } else if (headerView->resizeMode(0) != QHeaderView::Stretch) {