diff options
author | Weblate <noreply@weblate.org> | 2016-10-11 07:55:44 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2016-10-11 07:55:44 +0000 |
commit | dabe6a5b4d0b2786015431d9af658c6f2126eb84 (patch) | |
tree | b02fc72af6dac7d807f14cb597bd9dd0d3691581 /src-qt5/core/lumina-desktop/LDesktop.cpp | |
parent | Translated using Weblate (l_SCREENSHOT@de (generated)) (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-dabe6a5b4d0b2786015431d9af658c6f2126eb84.tar.gz lumina-dabe6a5b4d0b2786015431d9af658c6f2126eb84.tar.bz2 lumina-dabe6a5b4d0b2786015431d9af658c6f2126eb84.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/lumina-desktop/LDesktop.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/LDesktop.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktop.cpp b/src-qt5/core/lumina-desktop/LDesktop.cpp index 980b3e5e..8258dbb6 100644 --- a/src-qt5/core/lumina-desktop/LDesktop.cpp +++ b/src-qt5/core/lumina-desktop/LDesktop.cpp @@ -12,11 +12,13 @@ #include "LWinInfo.h" #include "JsonMenu.h" +#include <QScreen> + #define DEBUG 0 LDesktop::LDesktop(int deskNum, bool setdefault) : QObject(){ - - DPREFIX = "desktop-"+QString::number(deskNum)+"/"; + QString screenID = QApplication::screens().at(deskNum)->name(); + DPREFIX = "desktop-"+screenID+"/"; desktopnumber = deskNum; desktop = QApplication::desktop(); defaultdesktop = setdefault; //(desktop->screenGeometry(desktopnumber).x()==0); |