qt: Remove connection for unused accepted() signal in ReceiveRequestDialog#17600
qt: Remove connection for unused accepted() signal in ReceiveRequestDialog#17600hebasto wants to merge 1 commit intobitcoin:masterfrom
Conversation
|
Isn't always clear to me which role should be used in these cases. Here the payment request was created right before opening the dialog - so what could we "reject"? I think the most appropriate role is "accept" as there's no alternative operation, there's nothing you can do with it. - or is there some guidelines I'm not aware of? So maybe change the button role and drop the connection from reject signal? Either way concept ACK. |
Maybe there should be "OK" button, not "Close"? |
|
Successfully tested by setting a breakpoint at |
Hhmm but doesn't this remove the slot setup for |
Actually, And "yes", this PR removes connection to |
|
Closed in favor of #17597. |
ReceiveRequestDialoghas only "Close" button inQDialogButtonBox, therefore nothing could emitQDialogButtonBox::accepted()signal.