projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8784df
)
For QWindow we need topLevelExtra to be created when we have
author
Jørgen Lind
<jorgen.lind@nokia.com>
Wed, 27 Apr 2011 08:18:50 +0000
(10:18 +0200)
committer
Samuel Rødal
<samuel.rodal@nokia.com>
Thu, 28 Apr 2011 13:39:28 +0000
(15:39 +0200)
native widgets
(cherry picked from commit
247088f8fe929d55832f48af3da6f7e5e80cf8a4
)
src/gui/kernel/qwidget.cpp
patch
|
blob
|
history
diff --git
a/src/gui/kernel/qwidget.cpp
b/src/gui/kernel/qwidget.cpp
index
d1abc8f
..
d107bf1
100644
(file)
--- a/
src/gui/kernel/qwidget.cpp
+++ b/
src/gui/kernel/qwidget.cpp
@@
-10782,6
+10782,9
@@
void QWidget::setAttribute(Qt::WidgetAttribute attribute, bool on)
QApplication::sendEvent(this, &e);
break; }
case Qt::WA_NativeWindow: {
+#if defined(Q_WS_QPA)
+ d->createTLExtra();
+#endif
#ifndef QT_NO_IM
QWidget *focusWidget = d->effectiveFocusWidget();
QInputContext *ic = 0;