enable wordWrap on lblQRCode / small code comment change
This commit is contained in:
parent
b1a99c3a1f
commit
7261945eb5
2 changed files with 4 additions and 1 deletions
|
@ -34,6 +34,9 @@
|
|||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
|
|
@ -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…
Reference in a new issue