diff options
author | Tang Haixiang <tanghaixiang@uniontech.com> | 2021-09-08 17:58:04 +0800 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-09-09 00:53:10 +0000 |
commit | 39f0633f0b00444443e43599aab219a56f6cae2d (patch) | |
tree | a4f301eac06b9adf6b970b8f9fe47eb55592ec64 /src/gui/platform/unix/qgenericunixthemes.cpp | |
parent | 42d0089d44bec5628884d8cf6bf2b910a298a141 (diff) |
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>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixthemes.cpp')
-rw-r--r-- | src/gui/platform/unix/qgenericunixthemes.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/platform/unix/qgenericunixthemes.cpp b/src/gui/platform/unix/qgenericunixthemes.cpp index 86f2a266ea..ad5574882e 100644 --- a/src/gui/platform/unix/qgenericunixthemes.cpp +++ b/src/gui/platform/unix/qgenericunixthemes.cpp @@ -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") { |