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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user