mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
fixed 2 warning-errors on archlinux(gcc 8.1): implicit fallthrough, ignored qualifiers (#3270)
This commit is contained in:
parent
1276c8dd46
commit
91b3c7343d
3 changed files with 6 additions and 2 deletions
|
|
@ -196,6 +196,8 @@ QVariant GamesModel::headerData(int section, Qt::Orientation /*orientation*/, in
|
|||
return tr("Age");
|
||||
case Qt::TextAlignmentRole:
|
||||
return Qt::AlignCenter;
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
case DESCRIPTION:
|
||||
|
|
@ -212,6 +214,8 @@ QVariant GamesModel::headerData(int section, Qt::Orientation /*orientation*/, in
|
|||
return tr("Players");
|
||||
case Qt::TextAlignmentRole:
|
||||
return Qt::AlignCenter;
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
case SPECTATORS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue