Commit 34a91690 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Notifier: Don't crash if we failed to check the remote

BUG: 393614
parent dc034f78
......@@ -141,7 +141,8 @@ void FlatpakNotifier::loadRemoteUpdates(FlatpakInstallation *installation)
}));
connect(fw, &QFutureWatcher<GPtrArray *>::finished, this, [this, installation, fw](){
auto refs = fw->result();
onFetchUpdatesFinished(installation, refs);
if (refs)
onFetchUpdatesFinished(installation, refs);
fw->deleteLater();
});
}
......
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