aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina
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/core/libLumina
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/core/libLumina')
-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