X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fabstractnotificationbackend.h;h=7a48d0ef8f1acadb5087afe2614c757e65c4f895;hp=5f00daa7a31774eb1b92ad800112c9d13287bf89;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=42ab7cc22c4702716db2b8bfa1d4545169f772e6 diff --git a/src/uisupport/abstractnotificationbackend.h b/src/uisupport/abstractnotificationbackend.h index 5f00daa7..7a48d0ef 100644 --- 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_) - : 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); }