From 77ada9cd9de7a6a6826ddd8d6ec451882f424e1e Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 1 May 2017 10:28:29 -0400 Subject: Ensure that all Lumina tools/utilities are setup with high-DPI icons. --- src-qt5/core/libLumina/LuminaSingleApplication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/libLumina') 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 +} -- cgit