Update QXbWindow orientation API
authorLauro Neto <lauro.neto@openbossa.org>
Tue, 24 Apr 2012 18:35:15 +0000 (15:35 -0300)
committerQt by Nokia <qt-info@nokia.com>
Wed, 2 May 2012 20:38:11 +0000 (22:38 +0200)
commit31a5fb1fa297f292e8fba2df947fc18c217445fa
treed1bfea125182b490470f857fbb96d9c7dcf936b6
parent266913a64996fb74045b191cbd8bf349b42147a9
Update QXbWindow orientation API

After orientation handling was split in window orientation
and content orientation QXcbWindow remained with the old api.
This patch renames setOrientation to handleContentOrientationChange,
fixing the issue of double status bar (portrait and landscape)
when running Qt5 apps with QtComponents on N9 in portrait mode.
(thanks to Simon for pointing out the difference between
changing the window and the content orientations)

Change-Id: I20d0be0c7f7e4593ac1e3c2ac2518144fc7fed0e
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
src/plugins/platforms/xcb/qxcbwindow.cpp
src/plugins/platforms/xcb/qxcbwindow.h