Skip to content

Commit

Permalink
enable wordWrap on lblQRCode / small code comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Kaufmann committed Apr 12, 2012
1 parent b1a99c3 commit 7261945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/qt/forms/qrcodedialog.ui
Expand Up @@ -34,6 +34,9 @@
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
Expand Down
2 changes: 1 addition & 1 deletion src/qt/qrcodedialog.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 7261945

Please sign in to comment.