diff options
| author | João Barbosa <[email protected]> | 2020-10-28 00:38:51 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2020-11-01 12:56:10 +0000 |
| commit | 241434200ec2067673d8522fee4f1228abfd8247 (patch) | |
| tree | 15af7bb2498acfa3c2667ab9e3b36337f8e531d8 /src/qt | |
| parent | qt: Make transaction notification queue wallet specific (diff) | |
| download | discoin-241434200ec2067673d8522fee4f1228abfd8247.tar.xz discoin-241434200ec2067673d8522fee4f1228abfd8247.zip | |
refactor: qt: Use vQueueNotifications.clear()
Diffstat (limited to 'src/qt')
| -rw-r--r-- | src/qt/transactiontablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 071961339..3148089b5 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -741,7 +741,7 @@ void TransactionTablePriv::ShowProgress(const std::string &title, int nProgress) vQueueNotifications[i].invoke(parent); } - std::vector<TransactionNotification >().swap(vQueueNotifications); // clear + vQueueNotifications.clear(); } } |