[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kreversi_rewrite
From: Dmitry Suzdalev <dimsuz () gmail ! com>
Date: 2006-08-18 9:35:06
Message-ID: 1155893706.868327.24656.nullmailer () svn ! kde ! org
[Download RAW message or body]
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 <kapplication.h>
// ================================================================
@@ -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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic