qt: Refactor to remove unnecessary block in DispatchNotifications
Review with --ignore-all-space
This commit is contained in:
1 parent
57785fb7f6
commit
cafef080a2
1 file changed
-2
@@ -735,7 +735,6 @@ void TransactionTablePriv::DispatchNotifications()
|
|||||||
{
|
{
|
||||||
if (!m_loaded || m_loading) return;
|
if (!m_loaded || m_loading) return;
|
||||||
|
|
||||||
{
|
|
||||||
if (vQueueNotifications.size() > 10) { // prevent balloon spam, show maximum 10 balloons
|
if (vQueueNotifications.size() > 10) { // prevent balloon spam, show maximum 10 balloons
|
||||||
bool invoked = QMetaObject::invokeMethod(parent, "setProcessingQueuedTransactions", Qt::QueuedConnection, Q_ARG(bool, true));
|
bool invoked = QMetaObject::invokeMethod(parent, "setProcessingQueuedTransactions", Qt::QueuedConnection, Q_ARG(bool, true));
|
||||||
assert(invoked);
|
assert(invoked);
|
||||||
@@ -751,7 +750,6 @@ void TransactionTablePriv::DispatchNotifications()
|
|||||||
}
|
}
|
||||||
vQueueNotifications.clear();
|
vQueueNotifications.clear();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void TransactionTableModel::subscribeToCoreSignals()
|
void TransactionTableModel::subscribeToCoreSignals()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user