2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-17 14:36:45 +00:00

Version 4.9.5: Fix build with GCC.

This commit is contained in:
John Preston
2023-09-05 13:10:03 +04:00
parent 0079a18e97
commit 9f0a756f71
2 changed files with 4 additions and 2 deletions

View File

@@ -194,11 +194,14 @@ UnreadState MainList::unreadState() const {
result.chatsMuted = result.chats;
result.marksMuted = result.marks;
}
volatile auto touch = _unreadState.marks + _unreadState.marksMuted
#ifdef Q_OS_WIN
[[maybe_unused]] volatile auto touch = 0
+ _unreadState.marks + _unreadState.marksMuted
+ _unreadState.messages + _unreadState.messagesMuted
+ _unreadState.chats + _unreadState.chatsMuted
+ _unreadState.reactions + _unreadState.reactionsMuted
+ _unreadState.mentions;
#endif // Q_OS_WIN
return result;
}