summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-05-19 10:51:34 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-05-19 10:53:30 +0200
commitea7277690d9f4a7c4e10f3d3b7a2bef46d6878c2 (patch)
tree620b3d1acc7f8d5855f84248635d9a43f5e57476 /src/gui/kernel/qwindow.cpp
parente0e696dd05fbe329044879cf560fe26330edf7bd (diff)
Better setWindowFlags() support in XCB window.
We need to re-create the native window in setParent, as used to be done in QWidgetPrivate::setParent_sys in qwidget_x11.cpp.
Diffstat (limited to 'src/gui/kernel/qwindow.cpp')
-rw-r--r--src/gui/kernel/qwindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp
index 121791d2f3..3ff7d6c998 100644
--- a/src/gui/kernel/qwindow.cpp
+++ b/src/gui/kernel/qwindow.cpp
@@ -127,9 +127,6 @@ void QWindow::setParent(QWindow *parent)
{
Q_D(QWindow);
- if (d->parentWindow == parent)
- return;
-
QObject::setParent(parent);
if (d->platformWindow) {