diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-04-12 20:21:02 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-04-12 20:34:06 +0200 |
commit | 7261945eb5f64423d47a5bff63ecd8b65d88b8ed (patch) | |
tree | 9f7e022c22badf18d057c09ca018a1082c5b14ae /src/qt | |
parent | b1a99c3a1fb2613e9c7cecd565e8cc604b03eb6f (diff) |
enable wordWrap on lblQRCode / small code comment change
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/forms/qrcodedialog.ui | 3 | ||||
-rw-r--r-- | src/qt/qrcodedialog.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/forms/qrcodedialog.ui b/src/qt/forms/qrcodedialog.ui index 552eed0561..714b1d6cd8 100644 --- a/src/qt/forms/qrcodedialog.ui +++ b/src/qt/forms/qrcodedialog.ui @@ -34,6 +34,9 @@ <property name="alignment"> <set>Qt::AlignCenter</set> </property> + <property name="wordWrap"> + <bool>true</bool> + </property> </widget> </item> <item> diff --git a/src/qt/qrcodedialog.cpp b/src/qt/qrcodedialog.cpp index 80a56d95f3..9965f1438f 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 |