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.chatsMuted = result.chats;
|
||||||
result.marksMuted = result.marks;
|
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.messages + _unreadState.messagesMuted
|
||||||
+ _unreadState.chats + _unreadState.chatsMuted
|
+ _unreadState.chats + _unreadState.chatsMuted
|
||||||
+ _unreadState.reactions + _unreadState.reactionsMuted
|
+ _unreadState.reactions + _unreadState.reactionsMuted
|
||||||
+ _unreadState.mentions;
|
+ _unreadState.mentions;
|
||||||
|
#endif // Q_OS_WIN
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1261,7 +1261,6 @@ void AttachWebView::show(
|
||||||
const auto buttons = (hasSettings ? Button::Settings : Button::None)
|
const auto buttons = (hasSettings ? Button::Settings : Button::None)
|
||||||
| (hasOpenBot ? Button::OpenBot : Button::None)
|
| (hasOpenBot ? Button::OpenBot : Button::None)
|
||||||
| (hasRemoveFromMenu ? Button::RemoveFromMenu : Button::None);
|
| (hasRemoveFromMenu ? Button::RemoveFromMenu : Button::None);
|
||||||
const auto bot = _bot;
|
|
||||||
|
|
||||||
_lastShownUrl = url;
|
_lastShownUrl = url;
|
||||||
_lastShownQueryId = queryId;
|
_lastShownQueryId = queryId;
|
||||||
|
|
Loading…
Reference in a new issue