enable wordWrap on lblQRCode / small code comment change
This commit is contained in:
parent
b1a99c3a1f
commit
7261945eb5
@ -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 New Issue
Block a user