|
|
@ -77,7 +77,8 @@ void setupAmountWidget(QLineEdit *widget, QWidget *parent) |
|
|
|
|
|
|
|
|
|
|
|
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) |
|
|
|
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(uri.scheme() != QString("bitcoin")) |
|
|
|
// return if URI is not valid or is no bitcoin URI
|
|
|
|
|
|
|
|
if(!uri.isValid() || uri.scheme() != QString("bitcoin")) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
SendCoinsRecipient rv; |
|
|
|
SendCoinsRecipient rv; |
|
|
|