Fix Windows build.

This commit is contained in:
Black Hat 2018-10-20 10:45:03 +08:00
parent 2ba45d8ce1
commit 8cec4d6d2f
1 changed files with 1 additions and 1 deletions

View File

@ -31,10 +31,10 @@ class NotificationsManager : public QObject {
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);
#endif
// notification ID to (room ID, event ID) // notification ID to (room ID, event ID)
QMap<uint, roomEventId> notificationIds; QMap<uint, roomEventId> notificationIds;
#endif
// these slots are platform specific (D-Bus only) // these slots are platform specific (D-Bus only)
// but Qt slot declarations can not be inside an ifdef! // but Qt slot declarations can not be inside an ifdef!