diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-12 16:40:09 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-12 16:40:09 +0100 |
commit | b3e579713f14309a330a44171abd47c2e851a7b0 (patch) | |
tree | 369ad3912706f7b4b47ed314491a8a31e6472c63 /src/qt/guiutil.cpp | |
parent | abf34606c0b61d8193288ffefe94acb0c854097e (diff) |
qt: make URI scheme comparison case insensitive
Fixes ancient issue #1460.
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 85eeab2cbc..a45131846b 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -150,7 +150,7 @@ bool parseBitcoinURI(QString uri, SendCoinsRecipient *out) // // Cannot handle this later, because bitcoin:// will cause Qt to see the part after // as host, // which will lower-case it (and thus invalidate the address). - if(uri.startsWith("bitcoin://")) + if(uri.startsWith("bitcoin://", Qt::CaseInsensitive)) { uri.replace(0, 10, "bitcoin:"); } |