┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-11-19 20:52:30 +0000
committerPeter Penz <[email protected]>2008-11-19 20:52:30 +0000
commite54e382a89be8baa2b509eae52abf31796feaf7b (patch)
tree2adfbd5cacb863b2b5d2e25fe7c081654a5a8ab1 /src/dolphindetailsview.cpp
parentf542da84a27e11f58405da729e952987d16f151d (diff)
* fixed issue that the autoresizing of columns is applied when adding/removing columns
* assure that QTreeView::resizeEvent() is called before applying the autoresizing for having an updated state BUG: 175603 svn path=/trunk/KDE/kdebase/apps/; revision=886690
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 5c77ff710..86a2865b8 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -402,10 +402,10 @@ void DolphinDetailsView::keyReleaseEvent(QKeyEvent* event)
void DolphinDetailsView::resizeEvent(QResizeEvent* event)
{
+ QTreeView::resizeEvent(event);
if (m_autoResize) {
resizeColumns();
}
- QTreeView::resizeEvent(event);
}
void DolphinDetailsView::wheelEvent(QWheelEvent* event)
@@ -591,6 +591,7 @@ void DolphinDetailsView::configureColumns(const QPoint& pos)
m_controller->indicateAdditionalInfoChange(list);
setColumnHidden(columnIndex, !show);
+ resizeColumns();
}
}