1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Enable Qt 5.6 HighDpiScaling

This commit is contained in:
David Rosca 2016-01-27 13:05:25 +01:00
parent 7468aaf04b
commit 6c30379077
2 changed files with 3 additions and 1 deletions

View File

@ -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"));

View File

@ -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())