Commit 22b87583 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

kns: Fix build

parent 1942de87
......@@ -146,7 +146,7 @@ QString KNSResource::installedVersion() const
QString KNSResource::availableVersion() const
{
return !m_entry.updateVersion().isEmpty() ? m_entry.updateVersion()
: m_entry.updateReleaseDate().isEmpty() ? m_entry.updateReleaseDate().toString()
: !m_entry.updateReleaseDate().isNull() ? m_entry.updateReleaseDate().toString()
: !m_entry.version().isEmpty() ? m_entry.version()
: releaseDate().toString();
}
......
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