mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 03:53:56 -07:00
fix compilation with gcc in paranoic mode
deckview.cpp:244:6: warning: no previous declaration for 'bool sortCardsByName(DeckViewCard*, DeckViewCard*)' [-Wmissing-declarations]
This commit is contained in:
parent
0d5e169648
commit
119871d114
2 changed files with 3 additions and 2 deletions
|
|
@ -46,6 +46,7 @@ class DeckViewCardContainer : public QGraphicsItem {
|
|||
private:
|
||||
static const int separatorY = 20;
|
||||
static const int paddingY = 10;
|
||||
static bool sortCardsByName(DeckViewCard * c1, DeckViewCard * c2);
|
||||
|
||||
QString name;
|
||||
QList<DeckViewCard *> cards;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue