diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-09 15:24:17 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-09 15:35:24 (GMT) |
commit | b770abdd564f28a8d9dde816f72f73e6b15984af (patch) | |
tree | cca651b806e05f4b28d9d43d53917eace830c8f4 | |
parent | 207970afe90e89dc47f3eb34f5dbf995fdebdce0 (diff) | |
download | Qt-b770abdd564f28a8d9dde816f72f73e6b15984af.zip Qt-b770abdd564f28a8d9dde816f72f73e6b15984af.tar.gz Qt-b770abdd564f28a8d9dde816f72f73e6b15984af.tar.bz2 |
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
-rw-r--r-- | src/gui/kernel/qwidget_win.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_win.cpp b/src/gui/kernel/qwidget_win.cpp index 566e18c..fde0d45 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 } } |