diff options
| author | Peter Penz <[email protected]> | 2009-08-01 19:30:52 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-08-01 19:30:52 +0000 |
| commit | 67de9286a05b14e8d2611a2acb359b39c86eab3c (patch) | |
| tree | bfe53f19ee1b5a8071520353acfe83bb1c2e121b /src | |
| parent | 22718cef13818ab97d745530bb2b4a6826053520 (diff) | |
Assure that the panels don't shrink when the view is split and the zoomslide and spaceinfo is shown in the statusbar.
BUG: 202147
svn path=/trunk/KDE/kdebase/apps/; revision=1005693
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinstatusbar.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphinstatusbar.cpp b/src/dolphinstatusbar.cpp index 591a45c03..aaa302a15 100644 --- a/src/dolphinstatusbar.cpp +++ b/src/dolphinstatusbar.cpp @@ -217,6 +217,13 @@ void DolphinStatusBar::refresh() void DolphinStatusBar::resizeEvent(QResizeEvent* event) { + // It is important to hide the widgets before invoking + // QWidget::resizeEvent(), otherwise it is possible that + // the dock widgets are shrinked when having a small + // statusbar width (bug #202147). + m_zoomWidget->hide(); + m_spaceInfo->hide(); + QWidget::resizeEvent(event); QMetaObject::invokeMethod(this, "assureVisibleText", Qt::QueuedConnection); } |
