Commit 7031d7f7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Hopefully fix build on the CI

parent 13bf9eaa
......@@ -59,17 +59,15 @@ UpdateModel::~UpdateModel()
QHash<int,QByteArray> UpdateModel::roleNames() const
{
auto ret = QAbstractItemModel::roleNames();
ret.insert({
{ Qt::CheckStateRole, "checked" },
{ ResourceProgressRole, "resourceProgress" },
{ ResourceStateRole, "resourceState" },
{ ResourceRole, "resource" },
{ SizeRole, "size" },
{ SectionRole, "section" },
{ ChangelogRole, "changelog" },
{ InstalledVersionRole, "installedVersion" },
{ AvailableVersionRole, "availableVersion" }
} );
ret.insert(Qt::CheckStateRole, "checked");
ret.insert(ResourceProgressRole, "resourceProgress");
ret.insert(ResourceStateRole, "resourceState");
ret.insert(ResourceRole, "resource");
ret.insert(SizeRole, "size");
ret.insert(SectionRole, "section");
ret.insert(ChangelogRole, "changelog");
ret.insert(InstalledVersionRole, "installedVersion");
ret.insert(AvailableVersionRole, "availableVersion");
return ret;
}
......
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