Commit d76737c8 authored by Mike Kremer's avatar Mike Kremer
Browse files

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7f56fe05
......@@ -74,7 +74,6 @@ void IsotropicRemesherPlugin::slotRemeshButtonClicked() {
if ( thread_ == 0){
thread_ = new OpenFlipperThread(name() + "IsotropicRemesh"); // Create your thread containing a unique id \n
connect(thread_,SIGNAL( state(QString, int)), this,SIGNAL(setJobState(QString, int))); // connect your threads state info to the global one \n
connect(thread_,SIGNAL( finished(QString)), this,SIGNAL(finishJob(QString))); // connect your threads finish info to the global one ( you can do the same for a local one ) \n
connect(thread_,SIGNAL( function() ), this,SLOT(slotRemesh()),Qt::DirectConnection); // You can directly give a slot of your app that gets called \n
connect(this,SIGNAL( finishJob(QString)), this, SLOT(threadFinished(QString)), Qt::QueuedConnection);
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