Mercurial > hg > svcore
diff transform/ModelTransformerFactory.cpp @ 924:85879408f665 tonioni
Cancel async layer creation in Tony when selection is changed during it
author | Chris Cannam |
---|---|
date | Mon, 16 Jun 2014 09:28:12 +0100 |
parents | a2689db084f4 |
children | d03b3d956358 |
line wrap: on
line diff
--- a/transform/ModelTransformerFactory.cpp Fri Jun 13 17:39:01 2014 +0100 +++ b/transform/ModelTransformerFactory.cpp Mon Jun 16 09:28:12 2014 +0100 @@ -106,7 +106,6 @@ } else if (RealTimePluginFactory::instanceFor(id)) { RealTimePluginFactory *factory = RealTimePluginFactory::instanceFor(id); - const RealTimePluginDescriptor *desc = factory->getPluginDescriptor(id); size_t sampleRate = inputModel->getSampleRate(); size_t blockSize = 1024; @@ -234,7 +233,7 @@ QString trn = TransformFactory::getInstance()->getTransformFriendlyName (transforms[0].getIdentifier()); - for (int i = 0; i < models.size(); ++i) { + for (int i = 0; i < (int)models.size(); ++i) { if (imn != "") { if (trn != "") { models[i]->setObjectName(tr("%1: %2").arg(imn).arg(trn));