File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,5 +48,5 @@ void OpenURIDialog::on_selectFileButton_clicked()
48
48
if (filename.isEmpty ())
49
49
return ;
50
50
QUrl fileUri = QUrl::fromLocalFile (filename);
51
- ui->uriEdit ->setText (" bitcoin:?request =" + QUrl::toPercentEncoding (fileUri.toString ()));
51
+ ui->uriEdit ->setText (" bitcoin:?r =" + QUrl::toPercentEncoding (fileUri.toString ()));
52
52
}
Original file line number Diff line number Diff line change @@ -366,10 +366,10 @@ void PaymentServer::handleURIOrFile(const QString& s)
366
366
#else
367
367
QUrlQuery uri ((QUrl (s)));
368
368
#endif
369
- if (uri.hasQueryItem (" request " ))
369
+ if (uri.hasQueryItem (" r " ))
370
370
{
371
371
QByteArray temp;
372
- temp.append (uri.queryItemValue (" request " ));
372
+ temp.append (uri.queryItemValue (" r " ));
373
373
QString decoded = QUrl::fromPercentEncoding (temp);
374
374
QUrl fetchUrl (decoded, QUrl::StrictMode);
375
375
You can’t perform that action at this time.
0 commit comments