From 476eadbd58441fa34edfffc6a5021e22c1ec761e Mon Sep 17 00:00:00 2001 From: Cameron McDonald Date: Sun, 25 Aug 2024 14:59:34 -0500 Subject: [PATCH] remove unused invisible priority col from sets dialog --- cockatrice/src/client/network/sets_model.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cockatrice/src/client/network/sets_model.cpp b/cockatrice/src/client/network/sets_model.cpp index 6b5c8a31b..a86b710b5 100644 --- a/cockatrice/src/client/network/sets_model.cpp +++ b/cockatrice/src/client/network/sets_model.cpp @@ -56,8 +56,6 @@ QVariant SetsModel::data(const QModelIndex &index, int role) const return set->getLongName(); case ReleaseDateCol: return set->getReleaseDate().toString(Qt::ISODate); - case PriorityCol: - return set->getPriority(); default: return QVariant(); } @@ -82,9 +80,6 @@ QVariant SetsModel::headerData(int section, Qt::Orientation orientation, int rol case IsKnownCol: return QString( "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: return tr("Enabled"); case SetTypeCol: