summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng/pnglibconf.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-03-15 16:07:11 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-03-16 10:37:39 +0000
commitf8f3f0fbd468feaf14adcedbccbf6b434f2e2e49 (patch)
tree7bb48d33b2492ef4e334b03014eb0a71e46fb54e /src/3rdparty/libpng/pnglibconf.h
parente7cd32274e144144c1630d65d09d24a1ae0af2d7 (diff)
Correct qt_defaultDpi X/Y with just a QCoreApplication
Makes the 96DPI attribute check avoid undefined behavior by using QCoreApplication::instance() directly, instead of calling through qApp, which performs an invalid cast to QGuiApplication. Change-Id: Ib86e7d2461b462a2d623f1364414f7d4d2293f22 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/3rdparty/libpng/pnglibconf.h')
0 files changed, 0 insertions, 0 deletions