Commit 6212642b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Nate Graham
Browse files

Improve the notification when the updates are hidden

We would not pass the last one so the plasmoid would end as "n-1 of n"
which looks annoying. Also start at 1 instead of 0 so it doesn't look
like it's idling or similar.
parent a344b9fa
......@@ -376,8 +376,7 @@ public:
return;
}
setProcessedAmount(Items, totalAmount(Items) - TransactionModel::global()->rowCount());
setProcessedAmount(Items, totalAmount(Items) - TransactionModel::global()->rowCount() + 1);
auto firstTransaction = TransactionModel::global()->transactions().constFirst();
Q_EMIT description(this, firstTransaction->name());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment