diff options
| author | Robert Knight <[email protected]> | 2008-02-15 18:18:21 +0000 |
|---|---|---|
| committer | Robert Knight <[email protected]> | 2008-02-15 18:18:21 +0000 |
| commit | 12c6facfcef36b5ac1e4195fb256265f7fdeee60 (patch) | |
| tree | 1b66a82d0ebab102bf85c7c3688e4dc701e9f056 /src/dolphincolumnwidget.cpp | |
| parent | 3d4e6938f57fcf010b4fda7255384098327eb67d (diff) | |
Fix flicker when resizing the central view area in Dolphin. Only applicable with Qt 4.4 with alien widgets enabled. Any widgets passed to KDirLister::setMainWindow() become native widgets because of a call to QWidget::winId() inside KIO. This fix passes the top level Dolphin window to setMainWindow() (which is already a native window) instead of the item view widget.
svn path=/trunk/KDE/kdebase/apps/; revision=775396
Diffstat (limited to 'src/dolphincolumnwidget.cpp')
| -rw-r--r-- | src/dolphincolumnwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index ba5632502..9e6f9719b 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -106,7 +106,7 @@ DolphinColumnWidget::DolphinColumnWidget(QWidget* parent, //m_dirLister = new DolphinDirLister(); TODO m_dirLister = new KDirLister(); m_dirLister->setAutoUpdate(true); - m_dirLister->setMainWindow(this); + m_dirLister->setMainWindow(topLevelWidget()); m_dirLister->setDelayedMimeTypes(true); const bool showHiddenFiles = m_view->m_controller->dolphinView()->showHiddenFiles(); m_dirLister->setShowingDotFiles(showHiddenFiles); |
