Commit 2836f637 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Nate Graham
Browse files

flatpak: Set the real value of the remotes

Default was set true, so we were showing something wrong in case it was

BUG: 443455

(cherry picked from commit 41cef10e)
parent e9f3a33f
......@@ -338,6 +338,7 @@ void FlatpakSourcesBackend::addRemote(FlatpakRemote *remote, FlatpakInstallation
it->setData(remoteUrl.isLocalFile() ? remoteUrl.toLocalFile() :, Qt::ToolTipRole);
it->setData(remoteUrl, Qt::StatusTipRole);
it->setData(id, IdRole);
it->setCheckState(flatpak_remote_get_disabled(remote) ? Qt::Unchecked : Qt::Checked);
it->setData(QString::fromUtf8(flatpak_remote_get_icon(remote)), IconUrlRole);
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