enable wordWrap on lblQRCode / small code comment change
authorPhilip Kaufmann <phil.kaufmann@t-online.de>
Thu, 12 Apr 2012 18:21:02 +0000 (20:21 +0200)
committerPhilip Kaufmann <phil.kaufmann@t-online.de>
Thu, 12 Apr 2012 18:34:06 +0000 (20:34 +0200)
src/qt/forms/qrcodedialog.ui
src/qt/qrcodedialog.cpp

index 552eed0..714b1d6 100644 (file)
@@ -34,6 +34,9 @@
      <property name="alignment">
       <set>Qt::AlignCenter</set>
      </property>
+     <property name="wordWrap">
+      <bool>true</bool>
+     </property>
     </widget>
    </item>
    <item>
index 80a56d9..9965f14 100644 (file)
@@ -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