From b04a7fbef6a6e8a8e2d588ac6770464e5d964f42 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Tue, 19 Jan 2021 18:47:18 -0500 Subject: Remove showNotification function --- src/notifications/Manager.h | 1 - src/notifications/ManagerLinux.cpp | 12 ------------ 2 files changed, 13 deletions(-) (limited to 'src/notifications') diff --git a/src/notifications/Manager.h b/src/notifications/Manager.h index b5347bd6..4c9852cc 100644 --- a/src/notifications/Manager.h +++ b/src/notifications/Manager.h @@ -47,7 +47,6 @@ public: private: QDBusInterface dbus; - uint showNotification(const QString summary, const QString text, const QImage image); void closeNotification(uint id); // notification ID to (room ID, event ID) diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp index 451e23b2..a52a43e9 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp @@ -86,18 +86,6 @@ NotificationsManager::postNotification(const QString &roomid, }); } -uint -NotificationsManager::showNotification(const QString summary, - const QString text, - const QImage image) -{ - Q_UNUSED(summary) - Q_UNUSED(text) - Q_UNUSED(image) - - return 0; -} - void NotificationsManager::closeNotification(uint id) { -- cgit 1.4.1