Added safety checks to processEvents(), which was causing problems. Also narrowed the scope of the events processed.

It can now be disabled in the interface by un-checking touch-look, which most people don't use yet.
Also, the event processing time should be limited to 1 ms.
This commit is contained in:
Eric Johnston 2013-07-03 15:33:18 -07:00
parent c8b86c651f
commit 3ea100e595

View file

@ -950,8 +950,12 @@ void Application::idle() {
// NOTE - this is commented out for now - causing event processing issues reported by Philip and Ryan
// birarda - July 3rd
// processEvents();
// Added some safety catches which will enable us to test this.
// ej - July 3rd
if (_touchLook->isChecked()) {
int maxTimeMS = 1;
processEvents(QEventLoop::ExcludeSocketNotifiers, maxTimeMS);
}
update(1.0f / _fps);