enable wordWrap on lblQRCode / small code comment change
This commit is contained in:
parent
b1a99c3a1f
commit
7261945eb5
@ -34,6 +34,9 @@
|
|||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="wordWrap">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -89,7 +89,7 @@ QString QRCodeDialog::getURI()
|
|||||||
paramCount++;
|
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)
|
if (ret.length() < 256)
|
||||||
return ret;
|
return ret;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user