enable wordWrap on lblQRCode / small code comment change

This commit is contained in:
Philip Kaufmann 2012-04-12 20:21:02 +02:00
parent b1a99c3a1f
commit 7261945eb5
2 changed files with 4 additions and 1 deletions

View File

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

View 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