Commit eb1e950d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

pk: offer to repair the system when an offline update failed

BUG: 412273
parent 2ea17542
......@@ -120,7 +120,7 @@ void PackageKitNotifier::checkOfflineUpdates()
notification->setText(i18n("Offline Updates"));
notification->setText(i18np("Failed to update %1 package\n%2", "Failed to update %1 packages\n%2",
packages.count(), errorDetails));
notification->setActions(QStringList{QLatin1String("Open Discover")});
notification->setActions(QStringList{i18n("Open Discover"), i18n("Repair System")});
connect(notification, &KNotification::action1Activated, this, [] () {
QProcess::startDetached(QStringLiteral("plasma-discover"));
......
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