error: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is
deprecated: Use bool find(const QString &, QPixmap *) instead. --HG-- branch : develop
This commit is contained in:
parent
9aa0e2ed52
commit
9e7cf5c55c
|
@ -81,7 +81,7 @@ QPixmap WatermarkImageFromCache(const VWatermarkData &watermarkData, const QStri
|
|||
QPixmap pixmap;
|
||||
QString imagePath = AbsoluteMPath(watermarkPath, watermarkData.path);
|
||||
|
||||
if (not QPixmapCache::find(imagePath, pixmap))
|
||||
if (not QPixmapCache::find(imagePath, &pixmap))
|
||||
{
|
||||
QImageReader imageReader(imagePath);
|
||||
QImage watermark = imageReader.read();
|
||||
|
|
Loading…
Reference in New Issue
Block a user