diff --git a/src/plasma/private/theme_p.cpp b/src/plasma/private/theme_p.cpp index 0f3662e8f..b90561a48 100644 --- a/src/plasma/private/theme_p.cpp +++ b/src/plasma/private/theme_p.cpp @@ -582,7 +582,7 @@ void ThemePrivate::settingsFileChanged(const QString &file) qCDebug(LOG_PLASMA) << "settingsFile: " << file; if (file == themeMetadataPath) { const KPluginInfo pluginInfo(themeMetadataPath); - if (themeVersion != pluginInfo.version()) { + if (!pluginInfo.isValid() || themeVersion != pluginInfo.version()) { scheduleThemeChangeNotification(SvgElementsCache); } } else if (file.endsWith(QLatin1String(themeRcFile))) {