aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiconstants.h
diff options
context:
space:
mode:
authorFrancesco 'makevoid' Canessa <makevoid@gmail.com>2016-03-03 10:54:31 +0000
committerFrancesco 'makevoid' Canessa <makevoid@gmail.com>2016-06-13 16:09:14 +0100
commit1c2a1bac0ad6901868c1a4003c7cbddcdf46a29b (patch)
tree26013d188def1420c61f2fd92df67f54af7e0289 /src/qt/guiconstants.h
parent44c1b1c9bb54082625c7ad76af25473abf79f866 (diff)
downloadbitcoin-1c2a1bac0ad6901868c1a4003c7cbddcdf46a29b.tar.xz
Add address label to request payment QR Code (QT)
In the Receive 'Tab' of the QT wallet, when 'Show'ing a previously requested payment, add a label underneath the QR Code showing the bitcoin address where the funds will go to. This way the user can be sure that the QR code scanner app the user using is reading the correct bitcoin address, preventing funds to be stolen. Includes fix for HiDPI screens by @jonasschnelli.
Diffstat (limited to 'src/qt/guiconstants.h')
-rw-r--r--src/qt/guiconstants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h
index 4b2c10dd48..bab9923d20 100644
--- a/src/qt/guiconstants.h
+++ b/src/qt/guiconstants.h
@@ -43,7 +43,7 @@ static const int TOOLTIP_WRAP_THRESHOLD = 80;
static const int MAX_URI_LENGTH = 255;
/* QRCodeDialog -- size of exported QR Code image */
-#define EXPORT_IMAGE_SIZE 256
+#define QR_IMAGE_SIZE 300
/* Number of frames in spinner animation */
#define SPINNER_FRAMES 36