Add Deepin to the list of GTK based desktop environments

Deepin prefers the GTK3 theme implementation with native dialogs etc.

Pick-to: 6.2 6.2.0
Change-Id: I54cea9d17c0d7f5e466c700adce5aa68f0cf5564
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Tang Haixiang 2021-09-08 17:58:04 +08:00 committed by Tor Arne Vestbø
parent 42d0089d44
commit 39f0633f0b

View File

@ -859,7 +859,8 @@ QStringList QGenericUnixTheme::themeNames()
<< "UNITY"
<< "MATE"
<< "XFCE"
<< "LXDE";
<< "LXDE"
<< "DEEPIN";
const QList<QByteArray> desktopNames = desktopEnvironment.split(':');
for (const QByteArray &desktopName : desktopNames) {
if (desktopEnvironment == "KDE") {