Verified Commit b76cbc15 authored by Filipe Azevedo's avatar Filipe Azevedo Committed by Linus Jahn

Fix high dpi pixmaps

parent 0af2395c
...@@ -148,6 +148,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) ...@@ -148,6 +148,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
QGuiApplication::setApplicationVersion(VERSION_STRING); QGuiApplication::setApplicationVersion(VERSION_STRING);
// attributes // attributes
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
// create a qt app // create a qt app
#if defined(Q_OS_IOS) || defined(Q_OS_ANDROID) #if defined(Q_OS_IOS) || defined(Q_OS_ANDROID)
Markdown is supported
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