Propagate initial size constraints to QWidgetWindow.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Mon, 20 Aug 2012 14:38:05 +0000 (16:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Aug 2012 14:13:38 +0000 (16:13 +0200)
commit82860b133c123d8136cf13e99f66c4b55badc5fa
tree0e00e3786aefcd1fac44ed4e555767e10d8c7291
parent8133af25031880b7d28e4e9d6124f48fb986b683
Propagate initial size constraints to QWidgetWindow.

Size constraints set on a widget before the creation of
the QWidgetWindow were lost (for example, Qt Creator's
preference page).

Task-number: QTBUG-26745
Change-Id: I7c2f5aed9c8817795603e5ad3c24418d66627bab
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: hjk <qthjk@ovi.com>
src/widgets/kernel/qwidget_qpa.cpp
tests/auto/widgets/kernel/qwidget_window/tst_qwidget_window.cpp