summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2021-02-03 14:40:14 -0600
committerAlexander von Gluck IV <kallisti5@unixzen.com>2021-02-03 14:40:14 -0600
commite8ff6c9486d325a8b09a0b0bd191a7e31321e709 (patch)
tree5b84600814587b7644d725f0f24449bff3ccac1d /src/notifications
parentcmake: Don't build with Werror on Haiku (diff)
downloadnheko-e8ff6c9486d325a8b09a0b0bd191a7e31321e709.tar.xz
notifications/mananger: Follow Linux code paths on Haiku as well
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 &