From 16e7f5003c546ef5405bfbdbc3136476f3f24f8f Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sat, 20 Oct 2018 11:17:21 +0800 Subject: [PATCH] Fix windows build. --- src/notifications/manager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notifications/manager.h b/src/notifications/manager.h index 8fb8971..bdc06d4 100644 --- a/src/notifications/manager.h +++ b/src/notifications/manager.h @@ -1,9 +1,9 @@ #pragma once #include +#include #include #include -#include #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) #include @@ -27,8 +27,8 @@ class NotificationsManager : public QObject { signals: void notificationClicked(const QString roomId, const QString eventId); -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) private: +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) QDBusInterface dbus; uint showNotification(const QString summary, const QString text, const QImage image);