Fixed a bug where the softkeys would leave a see-through "hole".
authoraxis <qt-info@nokia.com>
Thu, 3 Feb 2011 14:45:00 +0000 (15:45 +0100)
committerJason McDonald <jason.mcdonald@nokia.com>
Wed, 9 Feb 2011 11:01:53 +0000 (21:01 +1000)
commit02500f25cc7ce5c7a9109c6cf433c79001e0594e
tree4e814fe59dba4f532e743668ac8608a56e0e0d1d
parent94244da8d4e7728a51da8ec49671b8993f2ab751
Fixed a bug where the softkeys would leave a see-through "hole".

In cases where the widget was created from the event loop instead of
main(), the middle three softkeys would not get the right visibility
and would leave a "hole" in the application where one could see what
was beneath it. It could also be clicked, which would bring the app
to the background which was really annoying.

Fixed by setting the visibility manually upon creation. It should
still be possible to alter the visibility of the toolbar manually
after the widget creation, if someone requires that.

Task:     QTBUG-16578
RevBy:    Gareth Stockwell
AutoTest: N/A, but tested with various combinations of fullscreen,
          non-fullscreen and softkey visibility modes. No
          regressions.
(cherry picked from commit 231dcfc8b6a90c3a0ab4869e0a9ab45403fd9a8c)
src/gui/kernel/qwidget_s60.cpp