enable wordWrap on lblQRCode / small code comment change

This commit is contained in:
Philip Kaufmann committed 2012-04-12 20:34:06 +02:00
1 parent b1a99c3a1f
commit 7261945eb5
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -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>
+1 -1
View File
@@ -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