summaryrefslogtreecommitdiff
path: root/src/gui/kernel/qwidget_win.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-09 16:24:17 +0100
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-09 16:35:24 +0100
commitb770abdd564f28a8d9dde816f72f73e6b15984af (patch)
treecca651b806e05f4b28d9d43d53917eace830c8f4 /src/gui/kernel/qwidget_win.cpp
parent207970afe90e89dc47f3eb34f5dbf995fdebdce0 (diff)
downloadqt4-tools-b770abdd564f28a8d9dde816f72f73e6b15984af.tar.gz
Dont set DontCreateNativeAncestors attribute.
This fixes painting artifacts on dock widgets. It would be nice to use this attribute again once the painting is fixed. Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qwidget_win.cpp')
-rw-r--r--src/gui/kernel/qwidget_win.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_win.cpp b/src/gui/kernel/qwidget_win.cpp
index 566e18cf43..fde0d45122 100644
--- a/src/gui/kernel/qwidget_win.cpp
+++ b/src/gui/kernel/qwidget_win.cpp
@@ -2073,7 +2073,6 @@ void QWidgetPrivate::winSetupGestures()
(vbarpolicy == Qt::ScrollBarAsNeeded && vbar->minimum() < vbar->maximum()));
singleFingerPanEnabled = asa->d_func()->singleFingerPanEnabled;
if (!winid) {
- q->setAttribute(Qt::WA_DontCreateNativeAncestors);
winid = q->winId(); // enforces the native winid on the viewport
}
}