diff options
author | Ken Moore <ken@ixsystems.com> | 2017-05-01 10:28:29 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-05-01 10:28:29 -0400 |
commit | 77ada9cd9de7a6a6826ddd8d6ec451882f424e1e (patch) | |
tree | 04f09ff9971cf67249f0407e5981c848a94d67f7 /src-qt5/desktop-utils | |
parent | Quick sync of all the translation files with the sources. (diff) | |
download | lumina-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')
-rw-r--r-- | src-qt5/desktop-utils/lumina-archiver/main.cpp | 1 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/main.cpp | 1 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-fileinfo/main.cpp | 1 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-notify/main.cpp | 1 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/main.cpp | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/main.cpp b/src-qt5/desktop-utils/lumina-archiver/main.cpp index 4f9a4bc5..40cd7967 100644 --- a/src-qt5/desktop-utils/lumina-archiver/main.cpp +++ b/src-qt5/desktop-utils/lumina-archiver/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-archiver"); //Now go ahead and setup the app QStringList args; 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); diff --git a/src-qt5/desktop-utils/lumina-fileinfo/main.cpp b/src-qt5/desktop-utils/lumina-fileinfo/main.cpp index 4b048487..a602f290 100644 --- a/src-qt5/desktop-utils/lumina-fileinfo/main.cpp +++ b/src-qt5/desktop-utils/lumina-fileinfo/main.cpp @@ -11,6 +11,7 @@ int main(int argc, char ** argv) { LTHEME::LoadCustomEnvSettings(); QApplication a(argc, argv); + a.setAttribute(Qt::AA_UseHighDpiPixmaps); LUtils::LoadTranslation(&a, "l-fileinfo"); //LuminaThemeEngine theme(&a); diff --git a/src-qt5/desktop-utils/lumina-notify/main.cpp b/src-qt5/desktop-utils/lumina-notify/main.cpp index c0e3bd05..23f30b95 100644 --- a/src-qt5/desktop-utils/lumina-notify/main.cpp +++ b/src-qt5/desktop-utils/lumina-notify/main.cpp @@ -12,6 +12,7 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); + a.setAttribute(Qt::AA_UseHighDpiPixmaps); int answer; QMessageBox *messageBox = new QMessageBox; messageBox->setText(argv[1]); diff --git a/src-qt5/desktop-utils/lumina-textedit/main.cpp b/src-qt5/desktop-utils/lumina-textedit/main.cpp index 61f6672e..7c1619b0 100644 --- a/src-qt5/desktop-utils/lumina-textedit/main.cpp +++ b/src-qt5/desktop-utils/lumina-textedit/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-te"); //Now go ahead and setup the app //LuminaThemeEngine theme(&a); |