diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-12 08:21:25 -0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-12 08:21:25 -0800 |
commit | d6c434d97e93f46704d472997574787f81c318fd (patch) | |
tree | 369ad3912706f7b4b47ed314491a8a31e6472c63 /src | |
parent | abf34606c0b61d8193288ffefe94acb0c854097e (diff) | |
parent | b3e579713f14309a330a44171abd47c2e851a7b0 (diff) |
Merge pull request #3241 from laanwj/2013_11_uri_scheme_case_insensitive
qt: make URI scheme comparison case insensitive
Diffstat (limited to 'src')
-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:"); } |