Commit 932dc436 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Fix uninstalling when the entry isn't cached

At the moment we were just refusing to uninstall and giving a misleading
error message.
parent 336ea21a
......@@ -792,7 +792,7 @@ void Engine::uninstall(KNSCore::EntryInternal entry)
if (!actualEntryForUninstall.isValid()) {
qCDebug(KNEWSTUFFCORE) << "could not find a cached entry with following id:" << entry.uniqueId() <<
" -> using the non-cached version";
return;
actualEntryForUninstall = entry;
}
entry.setStatus(KNS3::Entry::Installing);
......
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