summaryrefslogtreecommitdiff
path: root/gui/main.cpp
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-30 17:09:48 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-30 21:22:41 +0100
commitc28d30f11eba58fd5e01f7f5b2cbccac9aa7b5bd (patch)
treed969f289c041c981c945d901f27d9419b8f0513f /gui/main.cpp
parentdd96c098e82946e822b5fc76fce6276038e60a6f (diff)
[ui] highdpi fix
Diffstat (limited to 'gui/main.cpp')
-rw-r--r--gui/main.cpp1
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");