Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
f217551f
Commit
f217551f
authored
Mar 30, 2016
by
ctrlaltca
Browse files
Merge pull request #1877 from Psithief/patch-2
Prevent PTColumn from being the last column shown.
parents
55f3e931
ba3a9f83
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carddatabasemodel.h
View file @
f217551f
...
...
@@ -12,7 +12,7 @@ class FilterTree;
class
CardDatabaseModel
:
public
QAbstractListModel
{
Q_OBJECT
public:
enum
Columns
{
NameColumn
,
SetListColumn
,
ManaCostColumn
,
CardTypeColumn
,
PT
Column
,
CMCColumn
};
enum
Columns
{
NameColumn
,
SetListColumn
,
ManaCostColumn
,
PTColumn
,
CardType
Column
,
CMCColumn
};
enum
Role
{
SortRole
=
Qt
::
UserRole
};
CardDatabaseModel
(
CardDatabase
*
_db
,
QObject
*
parent
=
0
);
~
CardDatabaseModel
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment