Commit 470d7ad8 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove widget arg from KNotification ctor

Summary: passing a widget will be removed in KF6 and doesn't really do anything here.

Test Plan: Builds

Reviewers: #kde_telepathy, akulichalexandr

Reviewed By: #kde_telepathy, akulichalexandr

Subscribers: broulik

Differential Revision: https://phabricator.kde.org/D26613
parent d7ee4bed
......@@ -808,9 +808,9 @@ void ChatWindow::sendNotificationToUser(ChatWindow::NotificationType type, const
KNotification *notification;
if (type == SystemInfoMessage) {
notification = new KNotification(QLatin1String("telepathyInfo"), this);
notification = new KNotification(QLatin1String("telepathyInfo"));
} else {
notification = new KNotification(QLatin1String("telepathyError"), this);
notification = new KNotification(QLatin1String("telepathyError"));
}
notification->setText(errorMsg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment