Slightly faster lookup of cached theme elements
This commit is contained in:
parent
68496ed363
commit
d8ea983d45
@ -240,7 +240,7 @@ void ThemePrivate::onAppExitCleanup()
|
||||
QString ThemePrivate::findInTheme(const QString &image, const QString &theme, bool cache)
|
||||
{
|
||||
if (cache && discoveries.contains(image)) {
|
||||
return discoveries[image];
|
||||
return discoveries.value(image);
|
||||
}
|
||||
|
||||
QString search;
|
||||
|
Loading…
Reference in New Issue
Block a user