https://bugs.kde.org/show_bug.cgi?id=372651

--- Comment #4 from Marco Martin <notm...@gmail.com> ---
can be something as easy as that, tough what would then happen is the theme
being not really functional anymore (that's why didn't do a rr yet)

maybe, in the case pluginifo is not valid, useCache() can be called again,
causing a reevaluation of themeMetadataPath

index 0f3662e..dc50852 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))) {

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to