mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Version 4.9.5: Fix build with GCC.
This commit is contained in:
parent
0079a18e97
commit
9f0a756f71
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1261,7 +1261,6 @@ void AttachWebView::show(
|
|||
const auto buttons = (hasSettings ? Button::Settings : Button::None)
|
||||
| (hasOpenBot ? Button::OpenBot : Button::None)
|
||||
| (hasRemoveFromMenu ? Button::RemoveFromMenu : Button::None);
|
||||
const auto bot = _bot;
|
||||
|
||||
_lastShownUrl = url;
|
||||
_lastShownQueryId = queryId;
|
||||
|
|
Loading…
Add table
Reference in a new issue