diff --git a/app/chat-window.cpp b/app/chat-window.cpp --- a/app/chat-window.cpp +++ b/app/chat-window.cpp @@ -808,9 +808,9 @@ 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);