Fix crash from previous commit - nullptr check

This commit is contained in:
David Rosca 2016-02-19 13:39:55 +01:00
parent a8e54e15e1
commit f4e541ad87

View File

@ -335,7 +335,9 @@ void ThemePrivate::discardCache(CacheTypes caches)
discoveries.clear();
invalidElements.clear();
svgElementsCache->reparseConfiguration();
if (svgElementsCache) {
svgElementsCache->reparseConfiguration();
}
}
}