summaryrefslogtreecommitdiff
path: root/libsowatch/notificationsmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/notificationsmodel.h')
-rw-r--r--libsowatch/notificationsmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsowatch/notificationsmodel.h b/libsowatch/notificationsmodel.h
index d88693f..ffd8ab7 100644
--- a/libsowatch/notificationsmodel.h
+++ b/libsowatch/notificationsmodel.h
@@ -33,7 +33,7 @@ public:
Q_INVOKABLE int fullCountByType(int type) const; // See QTBUG-26415
Q_INVOKABLE Notification* getMostRecentByType(Notification::Type type) const;
- Q_INVOKABLE Notification* getMostRecentByType(int type) const;
+ Q_INVOKABLE QObject* getMostRecentByType(int type) const; // QML version
Notification::Type getTypeOfDeletedNotification(Notification *n) const;