From 7261945eb5f64423d47a5bff63ecd8b65d88b8ed Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Thu, 12 Apr 2012 20:21:02 +0200 Subject: [PATCH] enable wordWrap on lblQRCode / small code comment change --- src/qt/forms/qrcodedialog.ui | 3 +++ src/qt/qrcodedialog.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qt/forms/qrcodedialog.ui b/src/qt/forms/qrcodedialog.ui index 552eed05..714b1d6c 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 80a56d95..9965f143 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