only use widget flag for existing Qt version
authorMaurice Kalinowski <maurice.kalinowski@nokia.com>
Mon, 7 Mar 2011 09:20:00 +0000 (10:20 +0100)
committerMaurice Kalinowski <maurice.kalinowski@nokia.com>
Mon, 7 Mar 2011 09:20:00 +0000 (10:20 +0100)
commit23b1d6fe585351de65d6df41bd35d871aa281e14
tree782fb83ae2882fc461217f4b6f25c24c6aa318d1
parentcda30277c921f4a1b1cc49b7f9e6b1787ba0f051
only use widget flag for existing Qt version

WA_LockPortraitOrientation has been introduced with 4.7.2 and
hence cannot be used with earlier Qt versions.

Reviewed-by: owolff
examples/mobile/cubehouse/view.cpp