mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-18 06:00:43 +02:00
Merge #18062: gui: Fix unintialized WalletView::progressDialog
acf8abc7f3
gui: Fix unintialized WalletView::progressDialog (João Barbosa) Pull request description: #17911 shows that it's possible to read the unintialized `progressDialog` inf32564f0a7/src/qt/walletview.cpp (L296-L297)
. And the debugger shows ``` (gdb) bt #0 0x0000555556687c60 in QProgressDialog::wasCanceled() const () #1 0x000055555572989f in WalletView::showProgress (this=0x5555577d7a70, title=..., nProgress=1) at qt/walletview.cpp:322 ``` Closes #17911. ACKs for top commit: hebasto: ACKacf8abc7f3
, I have reviewed the code and it looks OK, I agree it can be merged. elichai: utACKacf8abc7f3
kristapsk: ACKacf8abc7f3
MarcoFalke: ACKacf8abc7f3
Tree-SHA512: f5e6d873192d08d1a572e66e17c2e06d1ce27d01aa196b2a7ed591008641295bb02cda8ac90919ff2d2fc778316c2e143f8d36599e0d377779758853dfaf0a31
This commit is contained in:
commit
23fab1a3df
@ -66,7 +66,7 @@ private:
|
|||||||
|
|
||||||
TransactionView *transactionView;
|
TransactionView *transactionView;
|
||||||
|
|
||||||
QProgressDialog *progressDialog;
|
QProgressDialog* progressDialog{nullptr};
|
||||||
const PlatformStyle *platformStyle;
|
const PlatformStyle *platformStyle;
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
|
Loading…
Reference in New Issue
Block a user