Fix softkey icon positioning in S60 5.3
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
Fri, 13 May 2011 12:29:53 +0000 (15:29 +0300)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>
Fri, 13 May 2011 12:29:53 +0000 (15:29 +0300)
commitdabc653c47c3fcdbbe9e59b8e55306bc0a4d8006
tree22438390d9c749da8d8bbcb796ad5282cb820ab3
parent708fcbe457304ac8035c20302e6dc6628a0f6aa4
Fix softkey icon positioning in S60 5.3

In S60 5.3, Avkon apparently expects softkey icons to be 32x32 and
positions them accordingly into the softkey, instead of needing the
application to supply the whole softkey image.
Fixed by skipping the softkey image centering when S60 version is 5.3
or larger.

Task-number: QTBUG-19104
Reviewed-by: Sami Merila
src/gui/kernel/qsoftkeymanager_s60.cpp