Skip to content

Commit

Permalink
Improved log message
Browse files Browse the repository at this point in the history
  • Loading branch information
kitswas committed Apr 24, 2024
1 parent 3119091 commit 0826476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networking/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ QImage createQR(const QString &data, const int border = 1, const uint scalingFac
char *str = data.toUtf8().data();
qrcodegen::QrCode qr = qrcodegen::QrCode::encodeText(str, qrcodegen::QrCode::Ecc::HIGH);
const int s = qr.getSize(); // s is the length of a side of the QR code
qDebug() << "QR side:" << s;
qDebug() << "QR code generated with size: " << s;
QImage image(s + 2 * border, s + 2 * border, QImage::Format_Mono);
image.setColor(1, QColor("black").rgb());
image.setColor(0, QColor("white").rgb());
Expand Down

0 comments on commit 0826476

Please sign in to comment.