summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-19 18:47:18 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-19 18:47:18 -0500
commitb04a7fbef6a6e8a8e2d588ac6770464e5d964f42 (patch)
tree2fbdf4c2f3a4ea220690167b83e89513d7c2e5ad /src/notifications
parentUse async call (diff)
downloadnheko-b04a7fbef6a6e8a8e2d588ac6770464e5d964f42.tar.xz
Remove showNotification function
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/Manager.h1
-rw-r--r--src/notifications/ManagerLinux.cpp12
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)
 {