From: Felix Weilbach Date: Mon, 22 Mar 2021 13:35:17 +0000 (+0100) Subject: Enable high dpi scaling on all platforms X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~305^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c296a93cee16e0513a3f27de550a9073691fe192;p=nextcloud-desktop.git Enable high dpi scaling on all platforms Fixes #2295, #1079, #914 Signed-off-by: Felix Weilbach --- diff --git a/src/gui/main.cpp b/src/gui/main.cpp index de7de845c..ba4aaa76b 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -64,10 +64,7 @@ int main(int argc, char **argv) // OpenSSL 1.1.0: No explicit initialisation or de-initialisation is necessary. QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); -#ifdef Q_OS_WIN QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true); -#endif // !Q_OS_WIN - #ifdef Q_OS_MAC Mac::CocoaInitializer cocoaInit; // RIIA #endif