diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-11-12 16:40:09 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-11-12 16:40:09 +0100 |
| commit | b3e579713f14309a330a44171abd47c2e851a7b0 (patch) | |
| tree | 369ad3912706f7b4b47ed314491a8a31e6472c63 /src/qt/guiutil.cpp | |
| parent | Merge pull request #3238 from Diapolo/guiutil (diff) | |
| download | discoin-b3e579713f14309a330a44171abd47c2e851a7b0.tar.xz discoin-b3e579713f14309a330a44171abd47c2e851a7b0.zip | |
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 85eeab2cb..a45131846 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:"); } |