From: unknown Date: Wed, 3 Mar 2010 18:20:02 +0000 (+0100) Subject: Risolti alcuni bug del thread X-Git-Url: http://git.maemo.org/git/?p=qmemory;a=commitdiff_plain;h=0f795b8afd0f0380d432a9dcba270ae60c19c105;hp=f553d351c4a2bea5c9adf9c775c08f293f7abcf4 Risolti alcuni bug del thread Ancora da testare sul N900 --- diff --git a/testThread.cpp b/testThread.cpp index c6c6719..84915c3 100644 --- a/testThread.cpp +++ b/testThread.cpp @@ -18,15 +18,13 @@ TestThread::~TestThread() } void TestThread::run(){ - sleep(2); + sleep(1); forever{ mutex.lock(); - qsrand(QDateTime::currentDateTime().toTime_t()); sequenza.append(qrand()%9); int i=0; index=0; - emit disableInterface(); while(i