summaryrefslogtreecommitdiffstats
path: root/kpoker
diff options
context:
space:
mode:
Diffstat (limited to 'kpoker')
-rw-r--r--kpoker/kpoker.cpp6
-rw-r--r--kpoker/kpoker.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index bb0a9fe3..295a3c06 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -88,7 +88,7 @@ PokerGame::dealCards(PokerPlayer *player, bool skip[])
void
PokerGame::activatePlayer(PokerPlayer *player)
{
- if (!m_activePlayers.tqcontains(player)) {
+ if (!m_activePlayers.contains(player)) {
m_activePlayers.append(player);
m_removedPlayers.remove(player);
}
@@ -98,7 +98,7 @@ PokerGame::activatePlayer(PokerPlayer *player)
void
PokerGame::inactivatePlayer(PokerPlayer *player)
{
- if (m_activePlayers.tqcontains(player)) {
+ if (m_activePlayers.contains(player)) {
m_activePlayers.remove(player);
m_removedPlayers.append(player);
}
@@ -554,7 +554,7 @@ void kpok::bet()
// Check if player 1 is out -> for players > 2
- // TODO: maybe if (!m_activePlayers.tqcontains(humanPlayer))
+ // TODO: maybe if (!m_activePlayers.contains(humanPlayer))
// {exchangeCards(); bet(); displayerWinner_computer();return;}
diff --git a/kpoker/kpoker.h b/kpoker/kpoker.h
index 379ac26c..94b82db2 100644
--- a/kpoker/kpoker.h
+++ b/kpoker/kpoker.h
@@ -116,7 +116,7 @@ public:
PokerPlayer * getActivePlayer(unsigned int nr) { return m_activePlayers.at(nr); }
void activatePlayer(PokerPlayer *player);
void inactivatePlayer(PokerPlayer *player);
- bool isActivePlayer(PokerPlayer *player) const { return m_activePlayers.tqcontains(player); }
+ bool isActivePlayer(PokerPlayer *player) const { return m_activePlayers.contains(player); }
// Misc
// FIXME: clearDirty should only be called by a save method