From: Peter Penz Date: Wed, 3 Oct 2007 21:47:47 +0000 (+0000) Subject: disable the moving of columns X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/65853e44faa9100522d8ed4c1224a60a43598736 disable the moving of columns svn path=/trunk/KDE/kdebase/apps/; revision=720855 --- diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 1d26f4ec8..61919c140 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -125,6 +125,7 @@ bool DolphinDetailsView::event(QEvent* event) headerView->setStretchLastSection(false); headerView->setResizeMode(QHeaderView::ResizeToContents); headerView->setResizeMode(0, QHeaderView::Stretch); + headerView->setMovable(false); // hide columns if this is indicated by the settings const DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings();