Commit 09e1f935 authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Actually perform an unknown-upgrade for updatable KNS entries

parent 3ffe650a
......@@ -441,6 +441,10 @@ public:
actionFunction = [res, engine]() {
else if (res->entry().status() == KNS3::Entry::Updateable)
actionFunction = [res, engine]() {
engine->install(res->entry(), -1);
else if (res->linkIds().isEmpty())
actionFunction = [res]() {
qWarning() << "No installable candidates in the KNewStuff entry" << res->entry().name() << "with id" << res->entry().uniqueId() << "on the backend" << res->backend()->name() << "There should always be at least one downloadable item in an OCS entry, and if there isn't, we should consider it broken. OCS can technically show them, but if there is nothing to install, it cannot be installed.";
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