From: Emmanuel Granatello Date: Thu, 4 Mar 2010 11:52:53 +0000 (+0100) Subject: Problemi con emit score X-Git-Url: http://git.maemo.org/git/?p=qmemory;a=commitdiff_plain Problemi con emit score --- diff --git a/testThread.cpp b/testThread.cpp index 84915c3..5dd1a2f 100644 --- a/testThread.cpp +++ b/testThread.cpp @@ -48,8 +48,9 @@ void TestThread::addUserInput(int inputUser){ index++; _score++; emit score(_score); - if(index==sequenza.size()){ - sleep(1); + + if(index==sequenza.size()){ + msleep(300); attendiInputUtente.wakeAll(); } }