Skip to content

Commit

Permalink
Fix building with Qt 5.15
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Apr 6, 2024
1 parent b803d17 commit 7b177d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quotient/room.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2571,7 +2571,7 @@ void Room::Private::getPreviousContent(int limit, const QString& filter)
if (!prevBatch)
emit q->allHistoryLoadedChanged();
changes |= updateStats(from, historyEdge());
if (changes != Change::None)
if (changes > 0)
postprocessChanges(changes);
});
connect(eventsHistoryJob, &QObject::destroyed, q,
Expand Down

0 comments on commit 7b177d7

Please sign in to comment.