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