diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index 7c7753ebd..80d58a994 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -97,7 +97,6 @@ MainApplication::MainApplication(int &argc, char** argv) , m_registerQAppAssociation(0) #endif { - setAttribute(Qt::AA_UseHighDpiPixmaps); setAttribute(Qt::AA_DontCreateNativeWidgetSiblings); setApplicationName(QLatin1String("QupZilla")); diff --git a/src/main/main.cpp b/src/main/main.cpp index c9afeb81f..14cb7af74 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -155,6 +155,9 @@ int main(int argc, char* argv[]) qputenv("QTWEBENGINE_REMOTE_DEBUGGING", WEBINSPECTOR_PORT); + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + MainApplication app(argc, argv); if (app.isClosing())