Merge PR #5088: FIX(client, ui): Use proper name for fallback theme

2cd4635 has integrated the theme
submodule into the main repository and by doing so renamed the default
theme from "Mumble" to "Default".

When using no theme (The "None" theme) for the application's style, it
would fail to find the necessary icons though.
This is because the fallback theme that is used in this case was still
referring to the old "Mumble" theme that no longer exists.

This commit fixes the issue by changing the name referenced in the
fallback theme to "Default" again.

Fixes #5086
This commit is contained in:
Robert Adam 2021-06-02 08:52:40 +02:00 committed by GitHub
commit ae1a11b3ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ void Themes::applyFallback() {
qWarning() << "Applying fallback style sheet";
QStringList skinPaths;
skinPaths << QLatin1String(":/themes/Mumble");
skinPaths << QLatin1String(":/themes/Default");
QString defaultTheme = getDefaultStylesheet();
setTheme(defaultTheme, skinPaths);
}