Hang on to the correct screen index in QWidget
authorNick Ratelle <nratelle@qnx.com>
Tue, 7 Feb 2012 18:18:23 +0000 (13:18 -0500)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Mar 2012 07:00:02 +0000 (08:00 +0100)
commitbb2f051d7443a462bec8c47225aeb62bc0f76bf8
treea5bf9a6c5d03d2f5708b6fcaabe124f58a28e9b9
parent25c4ce6deef20c69d00fe1197a60e8b7587c81cb
Hang on to the correct screen index in QWidget

Hang onto the screen index that this widget should be
placed on in case the platform cannot move the window onto the screen yet,
when window is not yet created and the plugin cannot access the topData
to update the screenIndex. When this variable is later referenced
after the window is created, it defaults to screenIndex 0,
so the window is never moved correctly.

Change-Id: Ica78fd90aa3dacc29f81b2f6bd6c8b45d2fb2961
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/gui/kernel/qwidget.cpp