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:
parent
7468aaf04b
commit
6c30379077
|
@ -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"));
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue
Block a user