From ceaea0c7105f5208cbdf98fa8b36faad87ac4c19 Mon Sep 17 00:00:00 2001 From: Emmanuel Granatello Date: Thu, 4 Mar 2010 12:52:53 +0100 Subject: [PATCH] Problemi con emit score --- testThread.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); } } -- 1.7.9.5