mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-21 01:42:15 -07:00
remove unused invisible priority col from sets dialog
This commit is contained in:
parent
98907a398b
commit
476eadbd58
1 changed files with 0 additions and 5 deletions
|
|
@ -56,8 +56,6 @@ QVariant SetsModel::data(const QModelIndex &index, int role) const
|
||||||
return set->getLongName();
|
return set->getLongName();
|
||||||
case ReleaseDateCol:
|
case ReleaseDateCol:
|
||||||
return set->getReleaseDate().toString(Qt::ISODate);
|
return set->getReleaseDate().toString(Qt::ISODate);
|
||||||
case PriorityCol:
|
|
||||||
return set->getPriority();
|
|
||||||
default:
|
default:
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
|
@ -82,9 +80,6 @@ QVariant SetsModel::headerData(int section, Qt::Orientation orientation, int rol
|
||||||
case IsKnownCol:
|
case IsKnownCol:
|
||||||
return QString(
|
return QString(
|
||||||
"Is known"); /* no tr() for translations needed, column is just used for sorting --> hidden */
|
"Is known"); /* no tr() for translations needed, column is just used for sorting --> hidden */
|
||||||
case PriorityCol:
|
|
||||||
return QString(
|
|
||||||
"Priority"); /* no tr() for translations needed, column is just used for sorting --> hidden */
|
|
||||||
case EnabledCol:
|
case EnabledCol:
|
||||||
return tr("Enabled");
|
return tr("Enabled");
|
||||||
case SetTypeCol:
|
case SetTypeCol:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue