Browse Source

enable wordWrap on lblQRCode / small code comment change

0.8
Philip Kaufmann 12 years ago
parent
commit
7261945eb5
  1. 3
      src/qt/forms/qrcodedialog.ui
  2. 2
      src/qt/qrcodedialog.cpp

3
src/qt/forms/qrcodedialog.ui

@ -34,6 +34,9 @@ @@ -34,6 +34,9 @@
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>

2
src/qt/qrcodedialog.cpp

@ -89,7 +89,7 @@ QString QRCodeDialog::getURI() @@ -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

Loading…
Cancel
Save