2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build with GCC.

This commit is contained in:
John Preston
2023-08-21 11:23:50 +02:00
parent 05b628da9b
commit 4e3db5b693

View File

@@ -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 {