1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 04:36:34 +01:00

Qt5: Enable HighDPI pixmaps

This commit is contained in:
David Rosca 2014-11-14 09:28:42 +01:00
parent 24ff9285f5
commit 1e3556696c

View File

@ -100,6 +100,10 @@ MainApplication::MainApplication(int &argc, char** argv)
, m_registerQAppAssociation(0)
#endif
{
#if QT_VERSION >= 0x050000
setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#endif
setApplicationName(QLatin1String("QupZilla"));
setApplicationVersion(Qz::VERSION);
setOrganizationDomain(QLatin1String("qupzilla"));