projects
/
qmemory
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Problemi con emit score
[qmemory]
/
testThread.cpp
diff --git
a/testThread.cpp
b/testThread.cpp
index
84915c3
..
5dd1a2f
100644
(file)
--- 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();
}
}