Problemi con emit score
[qmemory] / testThread.cpp
index 84915c3..5dd1a2f 100644 (file)
@@ -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();
             }
         }