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

Fix warning

parent e5665595
......@@ -141,6 +141,7 @@ QVariant UpdateModel::data(const QModelIndex &index, int role) const
case UpdateItem::ApplicationSection: return appUpdatesSection;
case UpdateItem::SystemSection: return systemUpdateSection;
return {};
case SectionResourceProgressRole:
return (100-item->progress()) + (101 * item->section());
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