Verified Commit 9a1180f1 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/potd: increase m_updateCount before `updateSource`

When cache is available, `PotdClient::done` will be directly emitted.
parent 217757d6
......@@ -228,8 +228,8 @@ void PotdEngine::updateSource(bool refresh)
{
for (const auto &pr : std::as_const(m_clientMap)) {
connect(pr.second.client, &PotdClient::done, this, &PotdEngine::slotDone);
pr.second.client->updateSource(refresh);
m_updateCount++;
pr.second.client->updateSource(refresh);
}
}
......
Supports Markdown
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