mirror of https://github.com/status-im/qzxing.git
Fixed warning about unused parameters in QZXing::decodeSubImageQM when QZXING_QML is not defined
This commit is contained in:
parent
b1bf4dfb01
commit
fac57028e4
|
@ -487,6 +487,11 @@ QString QZXing::decodeSubImageQML(const QUrl &imageUrl,
|
||||||
img = img.copy(offsetX, offsetY, width, height);
|
img = img.copy(offsetX, offsetY, width, height);
|
||||||
return decodeImage(img);
|
return decodeImage(img);
|
||||||
#else
|
#else
|
||||||
|
Q_UNUSED(imageUrl);
|
||||||
|
Q_UNUSED(offsetX);
|
||||||
|
Q_UNUSED(offsetY);
|
||||||
|
Q_UNUSED(width);
|
||||||
|
Q_UNUSED(height);
|
||||||
return decodeImage(QImage());
|
return decodeImage(QImage());
|
||||||
#endif //QZXING_QML
|
#endif //QZXING_QML
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue