Commit f8f3f0fb authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

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: default avatarMarc Mutz <marc.mutz@kdab.com>
parent e7cd3227
No related merge requests found
Showing with 2 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment