mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
gui: disable font antialiasing for QR image address
More info available here: https://doc.qt.io/qt-5/qfont.html#StyleStrategy-enum
This commit is contained in:
parent
693e40090a
commit
e156b9d8b9
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ bool QRImageWidget::setQR(const QString& data, const QString& text)
|
|||
|
||||
if (!text.isEmpty()) {
|
||||
QFont font = GUIUtil::fixedPitchFont();
|
||||
font.setStyleStrategy(QFont::NoAntialias);
|
||||
QRect paddedRect = qrAddrImage.rect();
|
||||
|
||||
// calculate ideal font size
|
||||
|
|
Loading…
Add table
Reference in a new issue