Qt5: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is deprecated: Use bool find(const QString &, QPixmap *) instead [-Wdeprecated-declarations]
This commit is contained in:
@@ -380,7 +380,7 @@ protected:
|
||||
.arg(size.width())
|
||||
.arg(size.height());
|
||||
QPixmap icon;
|
||||
if (QPixmapCache::find(key, icon))
|
||||
if (QPixmapCache::find(key, &icon))
|
||||
return icon;
|
||||
|
||||
icon = Gui::BitmapFactory().pixmapFromSvg(name, size);
|
||||
|
||||
Reference in New Issue
Block a user