2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

OrderedSet class done using QMap as implementation,

instead of inheriting it, fixed replies delete code.
This commit is contained in:
John Preston
2016-03-25 18:20:34 +03:00
parent cbebf9ced7
commit 559a74847b
9 changed files with 161 additions and 42 deletions

View File

@@ -216,8 +216,8 @@ namespace Notify {
if (MainWidget *m = App::main()) {
m->notify_handlePendingHistoryUpdate();
}
for (auto i = Global::PendingRepaintItems().cbegin(), e = Global::PendingRepaintItems().cend(); i != e; ++i) {
Ui::repaintHistoryItem(i.key());
for_const (HistoryItem *item, Global::PendingRepaintItems()) {
Ui::repaintHistoryItem(item);
}
Global::RefPendingRepaintItems().clear();
}