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
#include <QImage>
#include <QMap>
#include <QObject>
#include <QString>
#include <QMap>
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
#include <QtDBus/QDBusArgument>
@ -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);