2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Move global event filter to Platform::Integration on Windows.

This commit is contained in:
John Preston
2022-01-04 15:29:40 +03:00
parent 20411be9bd
commit 8b0725650d
22 changed files with 410 additions and 262 deletions

View File

@@ -32,6 +32,9 @@ public:
void showAccount(not_null<Main::Account*> account);
[[nodiscard]] PeerData *singlePeer() const;
[[nodiscard]] bool isPrimary() const {
return (singlePeer() == nullptr);
}
[[nodiscard]] not_null<::MainWindow*> widget() {
return &_widget;