Skip to content

Commit 2414342

Browse files
committed
refactor: qt: Use vQueueNotifications.clear()
1 parent 989e579 commit 2414342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/transactiontablemodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ void TransactionTablePriv::ShowProgress(const std::string &title, int nProgress)
741741

742742
vQueueNotifications[i].invoke(parent);
743743
}
744-
std::vector<TransactionNotification >().swap(vQueueNotifications); // clear
744+
vQueueNotifications.clear();
745745
}
746746
}
747747

0 commit comments

Comments
 (0)