[Qt] constify first parameter of processPaymentRequest()

This commit is contained in:
Philip Kaufmann 2015-01-12 14:24:01 +01:00
parent 9b14aefee3
commit 35d15959b0
2 changed files with 2 additions and 2 deletions

View File

@ -526,7 +526,7 @@ bool PaymentServer::readPaymentRequestFromFile(const QString& filename, PaymentR
return request.parse(data);
}
bool PaymentServer::processPaymentRequest(PaymentRequestPlus& request, SendCoinsRecipient& recipient)
bool PaymentServer::processPaymentRequest(const PaymentRequestPlus& request, SendCoinsRecipient& recipient)
{
if (!optionsModel)
return false;

View File

@ -131,7 +131,7 @@ protected:
bool eventFilter(QObject *object, QEvent *event);
private:
bool processPaymentRequest(PaymentRequestPlus& request, SendCoinsRecipient& recipient);
bool processPaymentRequest(const PaymentRequestPlus& request, SendCoinsRecipient& recipient);
void fetchRequest(const QUrl& url);
// Setup networking