Fix windows build.

This commit is contained in:
Black Hat 2018-10-20 11:17:21 +08:00
parent 969b359a92
commit 16e7f5003c
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
#pragma once #pragma once
#include <QImage> #include <QImage>
#include <QMap>
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include <QMap>
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
#include <QtDBus/QDBusArgument> #include <QtDBus/QDBusArgument>
@ -27,8 +27,8 @@ class NotificationsManager : public QObject {
signals: signals:
void notificationClicked(const QString roomId, const QString eventId); void notificationClicked(const QString roomId, const QString eventId);
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
private: private:
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
QDBusInterface dbus; QDBusInterface dbus;
uint showNotification(const QString summary, const QString text, uint showNotification(const QString summary, const QString text,
const QImage image); const QImage image);