diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-11-30 17:09:48 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-30 21:22:41 +0100 |
commit | c28d30f11eba58fd5e01f7f5b2cbccac9aa7b5bd (patch) | |
tree | d969f289c041c981c945d901f27d9419b8f0513f /gui | |
parent | dd96c098e82946e822b5fc76fce6276038e60a6f (diff) |
[ui] highdpi fix
Diffstat (limited to 'gui')
-rw-r--r-- | gui/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/main.cpp b/gui/main.cpp index c9750bd..7983c39 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -60,6 +60,7 @@ int main(int argc, char **argv) { QApplication::setApplicationVersion(backend.getVersion()); QApplication app(argc, argv); app.setQuitOnLastWindowClosed(false); + app.setAttribute(Qt::AA_UseHighDpiPixmaps); /* load providers json */ QFile providerJson (":/providers.json"); |