summaryrefslogtreecommitdiffstats
path: root/kanagram/src/kanagramgame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/kanagramgame.cpp')
-rw-r--r--kanagram/src/kanagramgame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kanagram/src/kanagramgame.cpp b/kanagram/src/kanagramgame.cpp
index 972c4c19..8cbc9638 100644
--- a/kanagram/src/kanagramgame.cpp
+++ b/kanagram/src/kanagramgame.cpp
@@ -138,7 +138,7 @@ void KanagramGame::nextAnagram()
{
m_answeredWords.clear();
}
- while(m_answeredWords.tqfindIndex(doc->getEntry(wordNumber)->getOriginal()) != -1)
+ while(m_answeredWords.findIndex(doc->getEntry(wordNumber)->getOriginal()) != -1)
{
wordNumber = m_random.getLong(totalWords);
}