From: Philip Kaufmann Date: Thu, 12 Apr 2012 18:21:02 +0000 (+0200) Subject: enable wordWrap on lblQRCode / small code comment change X-Git-Tag: v0.4.0-unstable~129^2~84^2 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=7261945eb5f64423d47a5bff63ecd8b65d88b8ed;hp=b1a99c3a1fb2613e9c7cecd565e8cc604b03eb6f;p=novacoin.git enable wordWrap on lblQRCode / small code comment change --- diff --git a/src/qt/forms/qrcodedialog.ui b/src/qt/forms/qrcodedialog.ui index 552eed0..714b1d6 100644 --- a/src/qt/forms/qrcodedialog.ui +++ b/src/qt/forms/qrcodedialog.ui @@ -34,6 +34,9 @@ Qt::AlignCenter + + true + diff --git a/src/qt/qrcodedialog.cpp b/src/qt/qrcodedialog.cpp index 80a56d9..9965f14 100644 --- a/src/qt/qrcodedialog.cpp +++ b/src/qt/qrcodedialog.cpp @@ -89,7 +89,7 @@ QString QRCodeDialog::getURI() paramCount++; } - // limit URI length to 255 chars, to prevent a DoS of the QR-Code dialog + // limit URI length to 255 chars, to prevent a DoS against the QR-Code dialog if (ret.length() < 256) return ret; else