summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authorColin Lord <dramborleg@users.noreply.github.com>2018-08-12 01:33:36 -0500
committermujx <mujx@users.noreply.github.com>2018-08-12 09:33:36 +0300
commitbcd92c0604dc9291e9fbfa55a5ee0354d27271f6 (patch)
tree079f6dc9fa150e6204fed948ad2fb789429988e8 /src/notifications
parentAdd option to disable desktop notifications (diff)
downloadnheko-bcd92c0604dc9291e9fbfa55a5ee0354d27271f6.tar.xz
Enable compilation on FreeBSD (#403)
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 4ac60097..56541ece 100644 --- a/src/notifications/Manager.h +++ b/src/notifications/Manager.h
@@ -4,7 +4,7 @@ #include <QObject> #include <QString> -#if defined(Q_OS_LINUX) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) #include <QtDBus/QDBusArgument> #include <QtDBus/QDBusInterface> #endif @@ -31,7 +31,7 @@ public: signals: void notificationClicked(const QString roomId, const QString eventId); -#if defined(Q_OS_LINUX) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) private: QDBusInterface dbus; uint showNotification(const QString summary, const QString text, const QImage image); @@ -47,7 +47,7 @@ private slots: void notificationClosed(uint id, uint reason); }; -#if defined(Q_OS_LINUX) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) QDBusArgument & operator<<(QDBusArgument &arg, const QImage &image); const QDBusArgument &