Commit 1027c23f authored by Nate Graham's avatar Nate Graham
Browse files

Improve new error message

No need to display the URL of the thing that failed to install in the
passivenotification.
parent c5893d35
......@@ -296,7 +296,7 @@ void DiscoverObject::openApplication(const QUrl& url)
emit openApplicationInternal(res.first());
} else if (url.scheme() == QLatin1String("snap")) {
openApplication(QUrl(QStringLiteral("appstream://org.kde.discover.snap")));
showPassiveNotification(i18n("Please make sure snap support is installed %1", url.toDisplayString()));
showPassiveNotification(i18n("Please make sure Snap support is installed"));
} else {
Q_EMIT openErrorPage(i18n("Could not open %1", url.toDisplayString()));
}
......
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