Prevent PTColumn from being the last column shown.

P/T column is really narrow. It should go before Card Type, so Card Type can expand into the remaining space.

Improves #1671, assuming I got this correct.

Untested!
This commit is contained in:
Psithief 2016-03-19 19:55:57 +08:00
parent 535e19f8b8
commit ba3a9f83bc

View file

@ -12,7 +12,7 @@ class FilterTree;
class CardDatabaseModel : public QAbstractListModel {
Q_OBJECT
public:
enum Columns { NameColumn, SetListColumn, ManaCostColumn, CardTypeColumn, PTColumn, CMCColumn };
enum Columns { NameColumn, SetListColumn, ManaCostColumn, PTColumn, CardTypeColumn, CMCColumn };
enum Role { SortRole=Qt::UserRole };
CardDatabaseModel(CardDatabase *_db, QObject *parent = 0);
~CardDatabaseModel();