1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-18 02:04:32 +03:00

fix warning

This commit is contained in:
Michail Vourlakos 2019-01-05 20:51:36 +02:00
parent 1a643e9749
commit 196689f763

View File

@ -92,7 +92,11 @@ Loader{
readonly property string scheme: {
if (applyTheme===theme || !mustBeShown) {
return themeExtended.defaultTheme.schemeFile;
if (themeExtended) {
return themeExtended.defaultTheme.schemeFile;
} else {
return "kdeglobals";
}
}
return applyTheme.schemeFile;