Browse Source

[Qt] constify first parameter of processPaymentRequest()

0.13
Philip Kaufmann 10 years ago
parent
commit
35d15959b0
  1. 2
      src/qt/paymentserver.cpp
  2. 2
      src/qt/paymentserver.h

2
src/qt/paymentserver.cpp

@ -526,7 +526,7 @@ bool PaymentServer::readPaymentRequestFromFile(const QString& filename, PaymentR @@ -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;

2
src/qt/paymentserver.h

@ -131,7 +131,7 @@ protected: @@ -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

Loading…
Cancel
Save