mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Beta version 4.0.4: Fix build with GCC.
This commit is contained in:
parent
11b62118d2
commit
d891a5344a
3 changed files with 1 additions and 10 deletions
|
@ -54,10 +54,6 @@ struct CustomEmojiSizeInfo {
|
|||
: SizeTag::Normal;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool IsLargeSizeDimension(int dimension) {
|
||||
return (dimension == 5) || (dimension == 6);
|
||||
}
|
||||
|
||||
} //namespace
|
||||
|
||||
CustomEmoji::CustomEmoji(
|
||||
|
|
|
@ -267,7 +267,6 @@ PointState UnwrappedMedia::pointState(QPoint point) const {
|
|||
const auto rightAligned = _parent->hasOutLayout()
|
||||
&& !_parent->delegate()->elementIsChatWide();
|
||||
const auto inWebPage = (_parent->media() != this);
|
||||
const auto item = _parent->data();
|
||||
auto usex = 0;
|
||||
auto usew = _contentSize.width();
|
||||
if (!inWebPage && rightAligned) {
|
||||
|
@ -424,10 +423,6 @@ QRect UnwrappedMedia::contentRectForReactions() const {
|
|||
}
|
||||
const auto rightAligned = _parent->hasOutLayout()
|
||||
&& !_parent->delegate()->elementIsChatWide();
|
||||
const auto item = _parent->data();
|
||||
const auto via = item->Get<HistoryMessageVia>();
|
||||
const auto reply = _parent->displayedReply();
|
||||
const auto forwarded = getDisplayedForwardedInfo();
|
||||
auto usex = 0;
|
||||
auto usew = _contentSize.width();
|
||||
accumulate_max(usew, _parent->reactionsOptimalWidth());
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9b5c58f92f129925b48449bba20bb6e9678d2e58
|
||||
Subproject commit bda46510f5f598ebaa72b07e4104bd1b5b3bb6e0
|
Loading…
Add table
Reference in a new issue