From 4e3db5b69314adb0a53104daf854adb4eca55d86 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 21 Aug 2023 11:23:50 +0200 Subject: [PATCH] Fix build with GCC. --- Telegram/SourceFiles/history/history_inner_widget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index f5c2058f5..35026b095 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -1689,7 +1689,6 @@ void HistoryInner::mouseActionStart(const QPoint &screenPos, Qt::MouseButton but if (uponSelected) { _mouseAction = MouseAction::PrepareDrag; // start text drag } else if (!_pressWasInactive) { - const auto media = Element::Pressed()->media(); if (_mouseCursorState == CursorState::Date) { _mouseAction = MouseAction::PrepareDrag; // start sticker drag or by-date drag } else {