summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/gtksymbols.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-10-28 15:09:45 (GMT)
committeraxis <qt-info@nokia.com>2009-10-28 15:21:09 (GMT)
commitf360555f3c7ded3c729ce972fbd65f035876b1b4 (patch)
treeb310da76aa865a7d0e7c1bfff079bce0c0d4e598 /src/gui/styles/gtksymbols.cpp
parent8007617f784fcad76661efbb2ce9ee7393946e02 (diff)
downloadQt-f360555f3c7ded3c729ce972fbd65f035876b1b4.zip
Qt-f360555f3c7ded3c729ce972fbd65f035876b1b4.tar.gz
Qt-f360555f3c7ded3c729ce972fbd65f035876b1b4.tar.bz2
Fixed crash/drawing artifacts on rotation change on Symbian.
On every beginDataAccess on the pixmap data, we checked the value of the pointer to the bits and only updated the image if the pointer had changed. However, we didn't take into account that the pointer could be the same, even though the dimensions were different, since malloc() could return the same memory area. This would lead to painting into an image that had the wrong dimensions, which again led to either crashes or image shearing. Fixed by checking the dimensions before deciding to update the image. Task: QTBUG-4815 RevBy: Jason Barron
Diffstat (limited to 'src/gui/styles/gtksymbols.cpp')
0 files changed, 0 insertions, 0 deletions