Skip to content

Commit 35d1595

Browse files
author
Philip Kaufmann
committed
[Qt] constify first parameter of processPaymentRequest()
1 parent 9b14aef commit 35d1595

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qt/paymentserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ bool PaymentServer::readPaymentRequestFromFile(const QString& filename, PaymentR
526526
return request.parse(data);
527527
}
528528

529-
bool PaymentServer::processPaymentRequest(PaymentRequestPlus& request, SendCoinsRecipient& recipient)
529+
bool PaymentServer::processPaymentRequest(const PaymentRequestPlus& request, SendCoinsRecipient& recipient)
530530
{
531531
if (!optionsModel)
532532
return false;

src/qt/paymentserver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private slots:
131131
bool eventFilter(QObject *object, QEvent *event);
132132

133133
private:
134-
bool processPaymentRequest(PaymentRequestPlus& request, SendCoinsRecipient& recipient);
134+
bool processPaymentRequest(const PaymentRequestPlus& request, SendCoinsRecipient& recipient);
135135
void fetchRequest(const QUrl& url);
136136

137137
// Setup networking

0 commit comments

Comments
 (0)