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/dolphinviewcontainer.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/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index e6966affb..226da5c88 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -87,7 +87,7 @@ DolphinViewContainer::DolphinViewContainer(DolphinMainWindow* mainWindow, m_dirLister = new DolphinDirLister(); m_dirLister->setAutoUpdate(true); - m_dirLister->setMainWindow(this); + m_dirLister->setMainWindow(topLevelWidget()); m_dirLister->setDelayedMimeTypes(true); m_dolphinModel = new DolphinModel(this); |
