mirror of https://github.com/status-im/qzxing.git
Merge branch 'master' of https://github.com/ftylitak/qzxing
This commit is contained in:
commit
b9823b7d7f
|
@ -381,7 +381,7 @@ QString QZXing::decodeImage(const QImage &image, int maxWidth, int maxHeight, bo
|
|||
QString string = QString(res->getText()->getText().c_str());
|
||||
if (!string.isEmpty() && (string.length() > 0)) {
|
||||
int fmt = res->getBarcodeFormat().value;
|
||||
foundedFmt = decoderFormatToString(fmt);
|
||||
foundedFmt = decoderFormatToString(1<<fmt);
|
||||
charSet_ = QString::fromStdString(res->getCharSet());
|
||||
if (!charSet_.isEmpty()) {
|
||||
QTextCodec *codec = QTextCodec::codecForName(res->getCharSet().c_str());
|
||||
|
|
Loading…
Reference in New Issue