mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix build for macOS.
This commit is contained in:
@@ -516,6 +516,7 @@ Manager::Private::Private(not_null<Manager*> manager, Type type)
|
||||
|
||||
void Manager::Private::showNotification(
|
||||
not_null<PeerData*> peer,
|
||||
std::shared_ptr<Data::CloudImageView> &userpicView,
|
||||
MsgId msgId,
|
||||
const QString &title,
|
||||
const QString &subtitle,
|
||||
@@ -607,6 +608,7 @@ Manager::~Manager() = default;
|
||||
|
||||
void Manager::doShowNativeNotification(
|
||||
not_null<PeerData*> peer,
|
||||
std::shared_ptr<Data::CloudImageView> &userpicView,
|
||||
MsgId msgId,
|
||||
const QString &title,
|
||||
const QString &subtitle,
|
||||
@@ -615,6 +617,7 @@ void Manager::doShowNativeNotification(
|
||||
bool hideReplyButton) {
|
||||
_private->showNotification(
|
||||
peer,
|
||||
userpicView,
|
||||
msgId,
|
||||
title,
|
||||
subtitle,
|
||||
|
@@ -90,6 +90,7 @@ public:
|
||||
protected:
|
||||
void doShowNativeNotification(
|
||||
not_null<PeerData*> peer,
|
||||
std::shared_ptr<Data::CloudImageView> &userpicView,
|
||||
MsgId msgId,
|
||||
const QString &title,
|
||||
const QString &subtitle,
|
||||
@@ -112,6 +113,7 @@ public:
|
||||
|
||||
void showNotification(
|
||||
not_null<PeerData*> peer,
|
||||
std::shared_ptr<Data::CloudImageView> &userpicView,
|
||||
MsgId msgId,
|
||||
const QString &title,
|
||||
const QString &subtitle,
|
||||
|
Reference in New Issue
Block a user