summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2010-07-27 14:27:21 (GMT)
committerToby Tomkins <toby.tomkins@nokia.com>2010-07-28 03:18:05 (GMT)
commit2ad1b312cd3fc002e4277330bbe7d554a4c704b8 (patch)
tree7cc51c67139d58334fe4413223bea450936830a2 /doc/src/snippets/code
parent1384524eac7527aded4aa4cca0f5fdba7c5e429e (diff)
downloadQt-2ad1b312cd3fc002e4277330bbe7d554a4c704b8.zip
Qt-2ad1b312cd3fc002e4277330bbe7d554a4c704b8.tar.gz
Qt-2ad1b312cd3fc002e4277330bbe7d554a4c704b8.tar.bz2
Fix signal emission of QDesktopWidget on Symbian.
QDesktopWidget on Symbian was not properly emitting the resized() and the workAreaResized() signals. Qt was properly translating the system event and sending the QResizeEvent to the widget, but the signal emission is determined solely based on changes in the QVectors of QRects outlining the screen dimensions. On Symbian, these vectors were never being set and as a result the signals were never omitted. The fix is to set the rects correctly in the init() function which is called by the resizeEvent() handler. Also modify the accessor functions to return the rectangles stored in the vector instead of querying for them each time. Task-number: QTBUG-11433 Reviewed-by: axis Autotest: PASSES (cherry picked from commit 61908af46700c7c1f2e59ce98daeadc2529fef1b)
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions