diff options
Diffstat (limited to 'kpat/pile.cpp')
-rw-r--r-- | kpat/pile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpat/pile.cpp b/kpat/pile.cpp index 8d34325e..fab94efa 100644 --- a/kpat/pile.cpp +++ b/kpat/pile.cpp @@ -218,7 +218,7 @@ void Pile::moveBy(double dx, double dy) int Pile::indexOf(const Card *c) const { assert(c->source() == this); - return m_cards.tqfindIndex(const_cast<Card*>(c)); // the list is of non-const cards + return m_cards.findIndex(const_cast<Card*>(c)); // the list is of non-const cards } Card *Pile::at(int index) const @@ -338,7 +338,7 @@ void Pile::add( Card* _card, bool _facedown, bool _spread ) void Pile::remove(Card *c) { - assert(m_cards.tqcontains(c)); + assert(m_cards.contains(c)); m_cards.remove(c); } |