diff --git a/app/fourasmodule.cpp b/app/fourasmodule.cpp index 9acb746..dfa1679 100644 --- a/app/fourasmodule.cpp +++ b/app/fourasmodule.cpp @@ -50,13 +50,14 @@ bool FourasModule::messageHandler(Message msg) if(current != -1) { QString str = riddles->getAnswer(current); - answer = "Indice : "; + QString answerStr = "Indice : "; bool first = true; for(QChar c : str) { - answer.append(first ? QString(c) : QString(" _")); + answerStr.append(first ? QString(c) : QString(" _")); first = false; } + answer = say(answerStr); return true; } }