aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-05-01 10:28:29 -0400
committerKen Moore <ken@ixsystems.com>2017-05-01 10:28:29 -0400
commit77ada9cd9de7a6a6826ddd8d6ec451882f424e1e (patch)
tree04f09ff9971cf67249f0407e5981c848a94d67f7 /src-qt5/desktop-utils/lumina-calculator
parentQuick sync of all the translation files with the sources. (diff)
downloadlumina-77ada9cd9de7a6a6826ddd8d6ec451882f424e1e.tar.gz
lumina-77ada9cd9de7a6a6826ddd8d6ec451882f424e1e.tar.bz2
lumina-77ada9cd9de7a6a6826ddd8d6ec451882f424e1e.zip
Ensure that all Lumina tools/utilities are setup with high-DPI icons.
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