changeset 2215:87b568556dd0 draft

enable wordWrap on lblQRCode / small code comment change
author Philip Kaufmann <phil.kaufmann@t-online.de>
date Thu, 12 Apr 2012 20:21:02 +0200
parents 65a697eb88b3
children 08a9e3770804
files src/qt/forms/qrcodedialog.ui src/qt/qrcodedialog.cpp
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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>
--- a/src/qt/qrcodedialog.cpp
+++ b/src/qt/qrcodedialog.cpp
@@ -89,7 +89,7 @@
         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