mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Merge commit 'ce2ca13815' into staging
This commit is contained in:
commit
779f70057b
10 changed files with 22 additions and 29 deletions
|
|
@ -591,10 +591,7 @@ QVariant PackProfile::data(const QModelIndex &index, int role) const
|
|||
}
|
||||
case Qt::DecorationRole:
|
||||
{
|
||||
switch(column)
|
||||
{
|
||||
case NameColumn:
|
||||
{
|
||||
if (column == NameColumn) {
|
||||
auto severity = patch->getProblemSeverity();
|
||||
switch (severity)
|
||||
{
|
||||
|
|
@ -606,11 +603,7 @@ QVariant PackProfile::data(const QModelIndex &index, int role) const
|
|||
return QVariant();
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
return QVariant();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue