mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 18:10:35 +00:00
Beta version 4.9.10: Fix build with GCC.
This commit is contained in:
parent
5514ab0ccf
commit
a37f7077b0
@ -178,7 +178,6 @@ void Provider::setSearchQuery(QString query) {
|
||||
void Provider::refreshViewer() {
|
||||
_viewerLifetime.destroy();
|
||||
const auto idForViewer = _aroundId;
|
||||
const auto session = &_peer->session();
|
||||
auto ids = (_tab == Tab::Saved)
|
||||
? Data::SavedStoriesIds(_peer, idForViewer, _idsLimit)
|
||||
: Data::ArchiveStoriesIds(_peer, idForViewer, _idsLimit);
|
||||
|
@ -172,8 +172,6 @@ ReactionView::ReactionView(
|
||||
}, lifetime());
|
||||
|
||||
const auto view = _fake.get();
|
||||
const auto item = view->data();
|
||||
|
||||
const auto entityData = [&] {
|
||||
const auto &id = _data.reaction;
|
||||
const auto reactions = &session->data().reactions();
|
||||
@ -227,9 +225,6 @@ void ReactionView::setupCustomChatStylePalette() {
|
||||
|
||||
void ReactionView::setAreaGeometry(QRect geometry) {
|
||||
_size = std::min(geometry.width(), geometry.height());
|
||||
const auto scaled = [&](float64 scale) {
|
||||
return int(base::SafeRound(scale * _size));
|
||||
};
|
||||
_bubble = _size * kSuggestedBubbleSize;
|
||||
_bigOffset = _bubble * kSuggestedTailBigOffset;
|
||||
_bigSize = _bubble * kSuggestedTailBigSize;
|
||||
|
Loading…
Reference in New Issue
Block a user