diff --git a/src/plasma/theme.cpp b/src/plasma/theme.cpp index 4654b5bf3..025e61f56 100644 --- a/src/plasma/theme.cpp +++ b/src/plasma/theme.cpp @@ -243,8 +243,7 @@ bool Theme::currentThemeHasImage(const QString &name) const return false; } - return !(d->findInTheme(name % QLatin1String(".svgz"), d->themeName, false).isEmpty()) - || !(d->findInTheme(name % QLatin1String(".svg"), d->themeName, false).isEmpty()); + return !d->findInTheme(name % QLatin1String(".svgz"), d->themeName).isEmpty() || !d->findInTheme(name % QLatin1String(".svg"), d->themeName).isEmpty(); } KSharedConfigPtr Theme::colorScheme() const