diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-16 09:52:44 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-27 22:35:06 +0000 |
commit | 851b39a6d675552e2fc70c75652ffc04bcc1a2ed (patch) | |
tree | 4ead40be13ce82828bf1e6bf6b6d4efbc12617b3 /src/widgets | |
parent | ab44ac021de1804765718e7415a708011a25671a (diff) |
Update detection of $DESKTOP_SESSION
I don't know how widespread this use is, but apparently sddm seems to
set DESKTOP_SESSION to be the .desktop file that it used to launch the
session (minus the .desktop extension). In that case, we should read the
DesktopName entry from the file to get the actual desktop type.
And since the desktop detection from QGenericUnixServices should
suffice, we don't need to repeat the same code in QGenericUnixThemes.
Change-Id: I0e1a09998253489388abfffd14b5eeefbd7fe740
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions