diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-26 10:25:12 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-26 10:25:12 -0400 |
commit | 471d6616ba64f2f6dd4f61f79c0079a5901b18ea (patch) | |
tree | f6ecffb18437cf570fbcd83dc1f4ecd98eefae0b | |
parent | Finish up all the new TreeWidget stuff from JT: (diff) | |
download | lumina-471d6616ba64f2f6dd4f61f79c0079a5901b18ea.tar.gz lumina-471d6616ba64f2f6dd4f61f79c0079a5901b18ea.tar.bz2 lumina-471d6616ba64f2f6dd4f61f79c0079a5901b18ea.zip |
Disable the QT_AUTO_SCREEN_SCALE_FACTOR usage in the Lumina app environment (for now - needs more testing).
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index ebd40030..93318b0f 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -471,7 +471,7 @@ void LSession::updateDesktops(){ //Make sure all the background windows are registered on the system as virtual roots QTimer::singleShot(100,this, SLOT(registerDesktopWindows())); //Determine if any High-DPI screens are available and enable auto-scaling as needed - for(int i=0; i<scrns.length(); i++){ + /*for(int i=0; i<scrns.length(); i++){ qDebug() << "Check Screen DPI:" << scrns[i]->name(); qDebug() << " -- Physical DPI:" << scrns[i]->physicalDotsPerInchX() << "x" << scrns[i]->physicalDotsPerInchY(); qDebug() << " -- Logical DPI:" << scrns[i]->logicalDotsPerInchX() << "x" << scrns[i]->logicalDotsPerInchY(); @@ -481,7 +481,7 @@ void LSession::updateDesktops(){ }else if(i==(scrns.length()-1)){ unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR"); } - } + }*/ } void LSession::registerDesktopWindows(){ |