summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qt-namespace/main.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-03-16 11:52:28 (GMT)
committerTimo Turunen <timo.p.turunen@nokia.com>2011-03-17 08:52:34 (GMT)
commita92f15eaae6981bf420477e4736f169b4224a6c4 (patch)
treec8e36ca2ca57dac05a2fa87f898b2cd7158e9249 /doc/src/snippets/qt-namespace/main.cpp
parent3fa85afd04ba67c762ca7489c63b4bfc4a6deac0 (diff)
downloadQt-a92f15eaae6981bf420477e4736f169b4224a6c4.zip
Qt-a92f15eaae6981bf420477e4736f169b4224a6c4.tar.gz
Qt-a92f15eaae6981bf420477e4736f169b4224a6c4.tar.bz2
Fix for wrong dpi metrics for raster pixmaps on Symbian.
The original implementation relied on SizeInTwips() for the underlying bitmap which unfortunately returns 0, leading to incorrect results from QPixmap::logicalDpiX/Y(). This caused issues in text rendering onto pixmaps (QTBUG-17628). This fix changes QS60PixmapData to use a slightly different metrics() implementation (the one VG and GL PixmapData are using). Task-number: QTBUG-18154 Reviewed-by: Jani Hautakangas (cherry picked from commit 48629ab39aa4e20b21a359dc251569a98606983d)
Diffstat (limited to 'doc/src/snippets/qt-namespace/main.cpp')
0 files changed, 0 insertions, 0 deletions