projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Require member function pointers for Settings::notify()
[quassel.git]
/
src
/
uisupport
/
abstractnotificationbackend.h
diff --git
a/src/uisupport/abstractnotificationbackend.h
b/src/uisupport/abstractnotificationbackend.h
index
5f00daa
..
7a48d0e
100644
(file)
--- a/
src/uisupport/abstractnotificationbackend.h
+++ b/
src/uisupport/abstractnotificationbackend.h
@@
-50,10
+50,10
@@
public:
QString message;
Notification(uint id_, BufferId buf_, NotificationType type_, QString sender_, QString msg_)
QString message;
Notification(uint id_, BufferId buf_, NotificationType type_, QString sender_, QString msg_)
- : notificationId(id_), bufferId(buf_), type(type_), sender(std::move(sender_)), message(std::move(msg_)) {}
;
+ : notificationId(id_), bufferId(buf_), type(type_), sender(std::move(sender_)), message(std::move(msg_)) {}
};
};
-
inline AbstractNotificationBackend(QObject *parent) : QObject(parent) {}
;
+
using QObject::QObject
;
virtual void notify(const Notification &) = 0;
virtual void close(uint notificationId) { Q_UNUSED(notificationId); }
virtual void notify(const Notification &) = 0;
virtual void close(uint notificationId) { Q_UNUSED(notificationId); }