diff options
author | deva <deva> | 2006-04-18 13:06:24 +0000 |
---|---|---|
committer | deva <deva> | 2006-04-18 13:06:24 +0000 |
commit | 108e71a9fb9b69fb58a1a4d72104527ef0165508 (patch) | |
tree | 1de2b5355eb9ea4400c68fbb6f4c6a15196e828f /client/decoder.cc | |
parent | 25a827c0a9aa0f14cd09a5b45d43a39e4f62ef8d (diff) |
*** empty log message ***
Diffstat (limited to 'client/decoder.cc')
-rw-r--r-- | client/decoder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/decoder.cc b/client/decoder.cc index 48dc67d..ef2185c 100644 --- a/client/decoder.cc +++ b/client/decoder.cc @@ -108,7 +108,8 @@ bool Decoder::eventFilter(QObject *o, QEvent *e) // printf("QUIT from: %p, this: %p, testing: %p\n", o, this, qApp->activeWindow()); if(qApp->activeWindow() == (QWidget*)o) { // Ignore close events from non top level widgets running = false; // Tell the thread to stop. - closesem.acquire(); // Wait for the thread to stop. + sleep(1);// Wait for the thread to stop. (The ugly way!) + // closesem.acquire(); // Wait for the thread to stop. } } |