mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-13 11:26:37 +00:00
minor optimization at the handling of file paths through URLs that are given to QZXing::decodeImageFromFile
This commit is contained in:
parent
983390d465
commit
86ad0f27cc
@ -311,7 +311,7 @@ QImage QZXing::encodeData(const QString& data)
|
||||
qRgb(255,255,255));
|
||||
|
||||
image = image.scaled(240, 240);
|
||||
// bool success = image.save("tmp.bmp","BMP");
|
||||
//bool success = image.save("tmp.bmp","BMP");
|
||||
} catch (std::exception& e) {
|
||||
std::cout << "Error: " << e.what() << std::endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user