X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Fabstractnotificationbackend.h;h=7a48d0ef8f1acadb5087afe2614c757e65c4f895;hb=2c8434f74c68194d56f2084f637419123e61d18b;hp=86d097361bf6de4c3c21788ddb17577d4caa82e4;hpb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;p=quassel.git diff --git a/src/uisupport/abstractnotificationbackend.h b/src/uisupport/abstractnotificationbackend.h index 86d09736..7a48d0ef 100644 --- a/src/uisupport/abstractnotificationbackend.h +++ b/src/uisupport/abstractnotificationbackend.h @@ -50,11 +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) {}; - ~AbstractNotificationBackend() override {}; + using QObject::QObject; virtual void notify(const Notification &) = 0; virtual void close(uint notificationId) { Q_UNUSED(notificationId); }