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:
@@ -108,6 +108,8 @@ public:
|
||||
return *_animationsManager;
|
||||
}
|
||||
[[nodiscard]] Window::Notifications::System ¬ifications() 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;
|
||||
|
Reference in New Issue
Block a user