Commit 86a6d15a authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Improve the notification text

parent 40613c2b
......@@ -66,13 +66,7 @@ void DiscoverNotifier::showUpdatesNotification()
return;
}
//TODO: Better message strings
QString msg = message();
if (m_verbose) {
msg += QLatin1Char(' ') + extendedMessage();
}
KNotification::event(QStringLiteral("Update"), i18n("System update available"), msg, QStringLiteral("system-software-update"), nullptr, KNotification::CloseOnTimeout, QStringLiteral("discoverabstractnotifier"));
KNotification::event(QStringLiteral("Update"), message(), extendedMessage(), iconName(), nullptr, KNotification::CloseOnTimeout, QStringLiteral("discoverabstractnotifier"));
}
void DiscoverNotifier::updateStatusNotifier()
......
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