mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
qt: Refactor to remove unnecessary block in DispatchNotifications
Review with --ignore-all-space
This commit is contained in:
@@ -735,7 +735,6 @@ void TransactionTablePriv::DispatchNotifications()
|
||||
{
|
||||
if (!m_loaded || m_loading) return;
|
||||
|
||||
{
|
||||
if (vQueueNotifications.size() > 10) { // prevent balloon spam, show maximum 10 balloons
|
||||
bool invoked = QMetaObject::invokeMethod(parent, "setProcessingQueuedTransactions", Qt::QueuedConnection, Q_ARG(bool, true));
|
||||
assert(invoked);
|
||||
@@ -751,7 +750,6 @@ void TransactionTablePriv::DispatchNotifications()
|
||||
}
|
||||
vQueueNotifications.clear();
|
||||
}
|
||||
}
|
||||
|
||||
void TransactionTableModel::subscribeToCoreSignals()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user