summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-08-18 07:11:12 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-08-18 07:11:12 (GMT)
commitfb4a884eb76a67919112f2a389283b1bd6d4848e (patch)
tree387d56c651cdf629325afe48ef00f27e1c72cd88 /src/gui/painting
parent572e165dcb8cc8fcdfaa4ab9bdab050f6a6cc173 (diff)
downloadQt-fb4a884eb76a67919112f2a389283b1bd6d4848e.zip
Qt-fb4a884eb76a67919112f2a389283b1bd6d4848e.tar.gz
Qt-fb4a884eb76a67919112f2a389283b1bd6d4848e.tar.bz2
Avoid divide by zero on buggy Xlib/Xserver implementations
Some X servers seem to report zero physical size, so our DPI calculations would crash with divide-by-zero. Avoid this and just use 72 DPI instead. Task-number: 258319
Diffstat (limited to 'src/gui/painting')
0 files changed, 0 insertions, 0 deletions