2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Hide login code with a spoiler in chats list.

This commit is contained in:
John Preston
2023-04-25 11:45:31 +04:00
parent 11906297d8
commit 864959aee0
11 changed files with 61 additions and 4 deletions

View File

@@ -1573,6 +1573,10 @@ QPoint Application::getPointForCallPanelCenter() const {
return QGuiApplication::primaryScreen()->geometry().center();
}
bool Application::isSharingScreen() const {
return _calls->isSharingScreen();
}
// macOS Qt bug workaround, sometimes no leaveEvent() gets to the nested widgets.
void Application::registerLeaveSubscription(not_null<QWidget*> widget) {
#ifdef Q_OS_MAC