Fixed build.

This commit is contained in:
23rd
2026-02-28 08:17:00 +03:00
committed by John Preston
parent 04dbbab4a1
commit 1848748118
3 changed files with 1 additions and 4 deletions
@@ -125,8 +125,6 @@ void SearchCalendarController::processMonthMessages(
bool noMoreData) {
auto result = std::vector<DayThumbnail>();
auto seenDays = base::flat_set<TimeId>();
const auto peer = _session->data().peer(key.peerId);
const auto history = peer->owner().history(peer);
const auto targetMonth = QDate(key.year, key.month, 1);
const auto targetStart = base::unixtime::serialize(
@@ -62,7 +62,7 @@ bool ShowReactionPreview(
};
};
const auto state = std::make_shared<PrintDead<State>>();
const auto state = std::make_shared<State>();
const auto mainwidget = controller->widget();
state->mediaPreview = base::make_unique_q<Window::MediaPreviewWidget>(
@@ -798,7 +798,6 @@ void BuildSpellcheckerSection(SectionBuilder &builder) {
const auto session = builder.session();
const auto settings = &Core::App().settings();
const auto isSystem = Platform::Spellchecker::IsSystemSpellchecker();
const auto container = builder.container();
builder.addDivider();
builder.addSkip();