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

kns: provide the release date if the resource isn't providing a version

BUG: 417192
parent d5daf473
......@@ -159,7 +159,9 @@ QString KNSResource::installedVersion() const
QString KNSResource::availableVersion() const
return !m_entry.updateVersion().isEmpty() ? m_entry.updateVersion() : m_entry.version();
return !m_entry.updateVersion().isEmpty() ? m_entry.updateVersion()
: !m_entry.version().isEmpty() ? m_entry.version()
: releaseDate().toString();
QString KNSResource::origin() const
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