diff --git a/notifier/DiscoverNotifier.cpp b/notifier/DiscoverNotifier.cpp --- a/notifier/DiscoverNotifier.cpp +++ b/notifier/DiscoverNotifier.cpp @@ -81,7 +81,7 @@ return; } - m_updatesAvailableNotification = KNotification::event(QStringLiteral("Update"), message(), {}, iconName(), nullptr, KNotification::Persistent, QStringLiteral("discoverabstractnotifier")); + m_updatesAvailableNotification = KNotification::event(QStringLiteral("Update"), message(), {}, iconName(), nullptr, KNotification::CloseOnTimeout, QStringLiteral("discoverabstractnotifier")); const QString name = i18n("Update"); m_updatesAvailableNotification->setDefaultAction(name); m_updatesAvailableNotification->setActions({name});