aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-05-03 09:35:31 -0400
committerKen Moore <ken@ixsystems.com>2017-05-03 09:35:31 -0400
commitb7283bcd87e54643320164d724d7179732a26523 (patch)
treee5ef664aa6ed013d9ac022135cd4caf7be8dcf1c /src-qt5/desktop-utils/lumina-calculator
parentClean up how the high-DPI settings for lumina are detected/enabled. (diff)
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-b7283bcd87e54643320164d724d7179732a26523.tar.gz
lumina-b7283bcd87e54643320164d724d7179732a26523.tar.bz2
lumina-b7283bcd87e54643320164d724d7179732a26523.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator')
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/main.cpp b/src-qt5/desktop-utils/lumina-calculator/main.cpp
index 222ee8b4..f9a3e177 100644
--- a/src-qt5/desktop-utils/lumina-calculator/main.cpp
+++ b/src-qt5/desktop-utils/lumina-calculator/main.cpp
@@ -15,6 +15,7 @@
int main(int argc, char *argv[]) {
LTHEME::LoadCustomEnvSettings();
QApplication a(argc, argv);
+ a.setAttribute(Qt::AA_UseHighDpiPixmaps);
LUtils::LoadTranslation(&a, "l-calc");
//Now go ahead and setup the app
//LuminaThemeEngine theme(&a);
bgstack15