summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-02-09 15:44:20 +0100
committerGitHub <noreply@github.com>2021-02-09 15:44:20 +0100
commit3797f585c2425f5f8a8bd69364982297b8814f34 (patch)
tree3dc457cf2fcfb862f118aeaffd46f4a90661cffb /src/notifications
parentMerge pull request #465 from trilene/call-devices (diff)
parentnotifications/mananger: Follow Linux code paths on Haiku as well (diff)
downloadnheko-3797f585c2425f5f8a8bd69364982297b8814f34.tar.xz
Merge pull request #450 from kallisti5/haiku-fixes
Haiku fixes
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/Manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notifications/Manager.h b/src/notifications/Manager.h

index 4c9852cc..2b869efc 100644 --- a/src/notifications/Manager.h +++ b/src/notifications/Manager.h
@@ -4,7 +4,7 @@ #include <QObject> #include <QString> -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU) #include <QtDBus/QDBusArgument> #include <QtDBus/QDBusInterface> #endif @@ -41,7 +41,7 @@ signals: public slots: void removeNotification(const QString &roomId, const QString &eventId); -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU) public: void closeNotifications(QString roomId); @@ -61,7 +61,7 @@ private slots: void notificationReplied(uint id, QString reply); }; -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU) QDBusArgument & operator<<(QDBusArgument &arg, const QImage &image); const QDBusArgument &