aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LSession.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-04-29 09:29:50 -0400
committerKen Moore <ken@ixsystems.com>2017-04-29 09:29:50 -0400
commit284284fac68e7ed3f0078116eb8d98ba62b7ad35 (patch)
treeeda8693e414d41d21adfb52dff825867cff0ff17 /src-qt5/core/lumina-desktop/LSession.cpp
parentFinally fix the desktop plugin location management system. (diff)
parentMake sure the cut/delete options for desktop icons are still possible if the ... (diff)
downloadlumina-284284fac68e7ed3f0078116eb8d98ba62b7ad35.tar.gz
lumina-284284fac68e7ed3f0078116eb8d98ba62b7ad35.tar.bz2
lumina-284284fac68e7ed3f0078116eb8d98ba62b7ad35.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/LSession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp
index 3088696f..bdc4f4d3 100644
--- a/src-qt5/core/lumina-desktop/LSession.cpp
+++ b/src-qt5/core/lumina-desktop/LSession.cpp
@@ -168,6 +168,7 @@ void LSession::setupSession(){
connect(watcher, SIGNAL(fileChanged(QString)), this, SLOT(watcherChange(QString)) );
connect(this, SIGNAL(aboutToQuit()), this, SLOT(SessionEnding()) );
if(DEBUG){ qDebug() << " - Init Finished:" << timer->elapsed(); delete timer;}
+ setenv("QT_AUTO_SCREEN_SCALE_FACTOR","1",true); //Enable the automatic Qt5 DPI scaling for apps
for(int i=0; i<4; i++){ LSession::processEvents(); } //Again, just a few event loops here so thing can settle before we close the splash screen
//launchStartupApps();
QTimer::singleShot(500, this, SLOT(launchStartupApps()) );
bgstack15