mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-12 19:06:50 +00:00
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);
|
||||
return decodeImage(img);
|
||||
#else
|
||||
Q_UNUSED(imageUrl);
|
||||
Q_UNUSED(offsetX);
|
||||
Q_UNUSED(offsetY);
|
||||
Q_UNUSED(width);
|
||||
Q_UNUSED(height);
|
||||
return decodeImage(QImage());
|
||||
#endif //QZXING_QML
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user