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

featuredmodel: there may not be a backend

mostly just when debugging fwupd or kns backends
parent cf4a2158
......@@ -90,7 +90,10 @@ void FeaturedModel::refreshCurrentApplicationBackend()
void FeaturedModel::refresh()
//usually only useful if launching just fwupd or kns backends
if (!m_backend)
const auto dest = qScopeGuard([this] { acquireFetching(false); });
QFile f(*featuredCache);
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