From kde-commits Fri Aug 18 09:35:06 2006 From: Dmitry Suzdalev Date: Fri, 18 Aug 2006 09:35:06 +0000 To: kde-commits Subject: branches/work/kreversi_rewrite Message-Id: <1155893706.868327.24656.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115589371420698 SVN commit 574155 by dimsuz: Restore "unfreeze GUI" code in Engine.cpp M +3 -5 Engine.cpp --- branches/work/kreversi_rewrite/Engine.cpp #574154:574155 @@ -119,6 +119,7 @@ #include "Engine.h" #include "kreversigame.h" +#include // ================================================================ @@ -339,12 +340,10 @@ } // keep GUI alive -/* void Engine::yield() { - qApp->processEvents(); + kapp->processEvents(); } - */ // Calculate the best move from the current position, and return it. @@ -676,8 +675,7 @@ int maxval = -LARGEINT; // Keep GUI alive by calling the event loop. - //// FIXME dimsuz: - //yield(); + yield(); ULONG64 null_bits; null_bits = 0;