aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaSingleApplication.cpp
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/core/libLumina/LuminaSingleApplication.cpp
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/core/libLumina/LuminaSingleApplication.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaSingleApplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaSingleApplication.cpp b/src-qt5/core/libLumina/LuminaSingleApplication.cpp
index 30507b5e..e3816add 100644
--- a/src-qt5/core/libLumina/LuminaSingleApplication.cpp
+++ b/src-qt5/core/libLumina/LuminaSingleApplication.cpp
@@ -15,6 +15,7 @@
LSingleApplication::LSingleApplication(int &argc, char **argv, QString appname) : QApplication(argc, argv){
//Load the proper translation systems
+ this->setAttribute(Qt::AA_UseHighDpiPixmaps);
if(appname!="lumina-desktop"){ cTrans = LUtils::LoadTranslation(this, appname); }//save the translator for later
//Initialize a couple convenience internal variables
cfile = QDir::tempPath()+"/.LSingleApp-%1-%2-%3";
@@ -134,4 +135,4 @@ void LSingleApplication::newInputsAvailable(){
//qDebug() << " - New Inputs Detected:" << inputs;
emit InputsAvailable(inputs);
}
-} \ No newline at end of file
+}
bgstack15