Re-add default positioning for Widgets.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 9 Feb 2012 15:09:31 +0000 (16:09 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Feb 2012 21:53:13 +0000 (22:53 +0100)
commitd43a01e1496c9be16cd2e3dc290bf70e926ceb99
tree2e3f4427bf794b115147cb486183a948636be1ab
parent89b192a082652061ae1874f6bc1816c0f01e7a55
Re-add default positioning for Widgets.

Center widgets on the screen in show_sys() in case they
are top levels that have not been moved yet.
This was previously done in platform-specific code
on Window creation.

Change-Id: I191f20c0105ed3f27274c6505852b212d400b395
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/widgets/kernel/qwidget_qpa.cpp