Commit 8d662d7d authored by Mike Kremer's avatar Mike Kremer

Making process communication connections queued since gui elements should only...

Making process communication connections queued since gui elements should only be updated by the main thread.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8593 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e2ac72ff
......@@ -982,35 +982,35 @@ void Core::loadPlugin(QString filename, bool silent){
if ( checkSignal(plugin,"startJob(QString,QString,int,int,bool)" ) )
connect(plugin , SIGNAL(startJob(QString, QString,int,int,bool)),
this , SLOT( slotStartJob(QString, QString,int,int,bool) ) ,Qt::DirectConnection );
this , SLOT( slotStartJob(QString, QString,int,int,bool) ), Qt::DirectConnection );
else
emit log(LOGERR,"Process Interface defined but no startJob signal found!");
if ( checkSignal(plugin,"setJobState(QString,int)" ) )
connect(plugin , SIGNAL(setJobState(QString,int)),
this , SLOT( slotSetJobState(QString,int) ) ,Qt::DirectConnection );
this , SLOT( slotSetJobState(QString,int) ), Qt::QueuedConnection );
else
emit log(LOGERR,"Process Interface defined but no setJobState signal found!");
if ( checkSignal(plugin,"setJobName(QString,QString)" ) )
connect(plugin , SIGNAL(setJobName(QString, QString)),
this , SLOT( slotSetJobName(QString, QString) ) ,Qt::DirectConnection );
this , SLOT( slotSetJobName(QString, QString) ), Qt::QueuedConnection );
else
emit log(LOGERR,"Process Interface defined but no setJobName signal found!");
if ( checkSignal(plugin,"setJobDescription(QString,QString)" ) )
connect(plugin , SIGNAL(setJobDescription(QString, QString)),
this , SLOT( slotSetJobDescription(QString, QString) ) ,Qt::DirectConnection );
this , SLOT( slotSetJobDescription(QString, QString) ), Qt::QueuedConnection );
else
emit log(LOGERR,"Process Interface defined but no setJobDescription signal found!");
if ( checkSignal(plugin,"cancelJob(QString)" ) )
connect(plugin , SIGNAL(cancelJob(QString)),
this , SLOT( slotCancelJob(QString) ) ,Qt::DirectConnection );
this , SLOT( slotCancelJob(QString) ), Qt::QueuedConnection );
if ( checkSignal(plugin,"finishJob(QString)" ) )
connect(plugin , SIGNAL(finishJob(QString)),
this , SLOT( slotFinishJob(QString) ) ,Qt::DirectConnection );
this , SLOT( slotFinishJob(QString) ), Qt::DirectConnection );
else
emit log(LOGERR,"Process Interface defined but no finishJob signal found!");
......
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