Commit ce052e29 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

BUG: Increasing timeout interval on Macs.

parent f0339cfd
...@@ -60,7 +60,11 @@ pqEventDispatcher::pqEventDispatcher(QObject* parentObject) : ...@@ -60,7 +60,11 @@ pqEventDispatcher::pqEventDispatcher(QObject* parentObject) :
QObject::connect(QAbstractEventDispatcher::instance(), SIGNAL(awake()), QObject::connect(QAbstractEventDispatcher::instance(), SIGNAL(awake()),
this, SLOT(awake())); this, SLOT(awake()));
#ifdef __APPLE__
this->BlockTimer.setInterval(1000);
#else
this->BlockTimer.setInterval(100); this->BlockTimer.setInterval(100);
#endif
this->BlockTimer.setSingleShot(true); this->BlockTimer.setSingleShot(true);
QObject::connect(&this->BlockTimer, SIGNAL(timeout()), QObject::connect(&this->BlockTimer, SIGNAL(timeout()),
this, SLOT(playEventOnBlocking())); this, SLOT(playEventOnBlocking()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment