diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-01-19 18:47:18 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-01-19 18:47:18 -0500 |
commit | b04a7fbef6a6e8a8e2d588ac6770464e5d964f42 (patch) | |
tree | 2fbdf4c2f3a4ea220690167b83e89513d7c2e5ad /src/notifications | |
parent | Use async call (diff) | |
download | nheko-b04a7fbef6a6e8a8e2d588ac6770464e5d964f42.tar.xz |
Remove showNotification function
Diffstat (limited to 'src/notifications')
-rw-r--r-- | src/notifications/Manager.h | 1 | ||||
-rw-r--r-- | src/notifications/ManagerLinux.cpp | 12 |
2 files changed, 0 insertions, 13 deletions
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) { |