From b3e579713f14309a330a44171abd47c2e851a7b0 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 12 Nov 2013 16:40:09 +0100 Subject: qt: make URI scheme comparison case insensitive Fixes ancient issue #1460. --- src/qt/guiutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:"); } -- cgit v1.2.3