X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtui.cpp;h=8a38005a9d56516c5139b7f94047f88949ff7454;hp=02b6615e7f0df41906a20bcf6139729a4531a6d6;hb=9ea27e456f4163c37118f6dc34188809fc37d6d9;hpb=6ca23dc4a69443945083d6a02187f16108658628 diff --git a/src/qtui/qtui.cpp b/src/qtui/qtui.cpp index 02b6615e..8a38005a 100644 --- a/src/qtui/qtui.cpp +++ b/src/qtui/qtui.cpp @@ -109,10 +109,10 @@ const QList &QtUi::notificationBackends() { return _notificationBackends; } -uint QtUi::invokeNotification(BufferId bufId, const QString &sender, const QString &text) { +uint QtUi::invokeNotification(BufferId bufId, AbstractNotificationBackend::NotificationType type, const QString &sender, const QString &text) { static int notificationId = 0; //notificationId++; - AbstractNotificationBackend::Notification notification(++notificationId, bufId, sender, text); + AbstractNotificationBackend::Notification notification(++notificationId, bufId, type, sender, text); _notifications.append(notification); foreach(AbstractNotificationBackend *backend, _notificationBackends) backend->notify(notification);