Commit 3b97fa30 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

BUG: Removed debug cout and increasing the timeout so that the modal dialogs get

time to popup before we start processing the events.
parent 59c0d5e9
...@@ -62,7 +62,7 @@ pqEventDispatcher::pqEventDispatcher(QObject* parentObject) : ...@@ -62,7 +62,7 @@ pqEventDispatcher::pqEventDispatcher(QObject* parentObject) :
QObject::connect(QAbstractEventDispatcher::instance(), SIGNAL(awake()), QObject::connect(QAbstractEventDispatcher::instance(), SIGNAL(awake()),
this, SLOT(awake())); this, SLOT(awake()));
this->BlockTimer.setInterval(100); this->BlockTimer.setInterval(500);
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()));
...@@ -80,7 +80,7 @@ void pqEventDispatcher::aboutToBlock() ...@@ -80,7 +80,7 @@ void pqEventDispatcher::aboutToBlock()
{ {
if (!this->BlockTimer.isActive()) if (!this->BlockTimer.isActive())
{ {
cout << "aboutToBlock" << endl; // cout << "aboutToBlock" << endl;
// Request a delayed playback for an event. // Request a delayed playback for an event.
this->BlockTimer.start(); this->BlockTimer.start();
} }
......
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