mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show preview on Force-Click on macOS.
This commit is contained in:
@@ -123,6 +123,7 @@ public:
|
||||
void resizeEmptyLabel();
|
||||
|
||||
[[nodiscard]] bool isUserpicPress() const;
|
||||
[[nodiscard]] bool isUserpicPressOnWide() const;
|
||||
[[nodiscard]] bool pressShowsPreview(bool onlyUserpic) const;
|
||||
void cancelChatPreview();
|
||||
void showChatPreview(bool onlyUserpic);
|
||||
@@ -258,6 +259,7 @@ private:
|
||||
QPoint globalPosition,
|
||||
Qt::MouseButton button,
|
||||
Qt::KeyboardModifiers modifiers);
|
||||
void processGlobalForceClick(QPoint globalPosition);
|
||||
void clearIrrelevantState();
|
||||
void selectByMouse(QPoint globalPosition);
|
||||
void preloadRowsData();
|
||||
|
Reference in New Issue
Block a user