summaryrefslogtreecommitdiff
path: root/plugingui/testmain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r--plugingui/testmain.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugingui/testmain.cc b/plugingui/testmain.cc
index 08c0ad7..e1a1256 100644
--- a/plugingui/testmain.cc
+++ b/plugingui/testmain.cc
@@ -52,10 +52,11 @@ public:
while(running)
{
#ifdef WIN32
- SleepEx(1000, FALSE);
+ SleepEx(50, FALSE);
#else
- sleep(1);
+ usleep(50000);
#endif
+ gui.processEvents();
}
}