2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Fix build and working on macOS.

This commit is contained in:
John Preston
2020-06-19 21:13:43 +04:00
parent b49a8e6dc1
commit 3bb352e0e5
15 changed files with 83 additions and 52 deletions

View File

@@ -108,6 +108,8 @@ public:
return *_animationsManager;
}
[[nodiscard]] Window::Notifications::System &notifications() const {
Expects(_notifications != nullptr);
return *_notifications;
}
@@ -305,7 +307,8 @@ private:
const std::unique_ptr<Media::Audio::Instance> _audio;
// Notifications should be destroyed before _audio.
const std::unique_ptr<Window::Notifications::System> _notifications;
// Mutable because is created in run() after OpenSSL is inited.
std::unique_ptr<Window::Notifications::System> _notifications;
const QImage _logo;
const QImage _logoNoMargin;