mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-21 23:28:09 +00:00
Enable all decoders by default
Otherwise this leads to access of uninitialized, when one forgets to set a custom list of decoders.
This commit is contained in:
parent
8cdfdee225
commit
bb903ca27e
@ -24,16 +24,23 @@ using namespace zxing;
|
||||
QZXing::QZXing(QObject *parent) : QObject(parent), tryHarder_(false)
|
||||
{
|
||||
decoder = new MultiFormatReader();
|
||||
/*setDecoder(DecoderFormat_QR_CODE |
|
||||
setDecoder(DecoderFormat_QR_CODE |
|
||||
DecoderFormat_DATA_MATRIX |
|
||||
DecoderFormat_UPC_E |
|
||||
DecoderFormat_UPC_A |
|
||||
DecoderFormat_UPC_EAN_EXTENSION |
|
||||
DecoderFormat_RSS_14 |
|
||||
DecoderFormat_RSS_EXPANDED |
|
||||
DecoderFormat_PDF_417 |
|
||||
DecoderFormat_MAXICODE |
|
||||
DecoderFormat_EAN_8 |
|
||||
DecoderFormat_EAN_13 |
|
||||
DecoderFormat_CODE_128 |
|
||||
DecoderFormat_CODE_93 |
|
||||
DecoderFormat_CODE_39 |
|
||||
DecoderFormat_CODABAR |
|
||||
DecoderFormat_ITF |
|
||||
DecoderFormat_Aztec);*/
|
||||
DecoderFormat_Aztec);
|
||||
imageHandler = new ImageHandler();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user