Mercurial > hg > svcore
comparison plugin/transform/TransformFactory.cpp @ 333:1afaf98dbf11
* Factor out uses of "Sonic Visualiser" in "common" code to applicationName()
* Add ability to show work title + artist in top-left of pane (thinking of Vect
but may be useful in SV in future)
* A few other generalisations useful for Vect
author | Chris Cannam |
---|---|
date | Fri, 09 Nov 2007 17:46:58 +0000 |
parents | 13e5870040e6 |
children | d7c41483af8f 94fc0591ea43 |
comparison
equal
deleted
inserted
replaced
332:13e5870040e6 | 333:1afaf98dbf11 |
---|---|
424 } | 424 } |
425 | 425 |
426 bool | 426 bool |
427 TransformFactory::haveTransform(TransformId identifier) | 427 TransformFactory::haveTransform(TransformId identifier) |
428 { | 428 { |
429 if (m_transforms.empty()) populateTransforms(); | |
429 return (m_transforms.find(identifier) != m_transforms.end()); | 430 return (m_transforms.find(identifier) != m_transforms.end()); |
430 } | 431 } |
431 | 432 |
432 QString | 433 QString |
433 TransformFactory::getTransformName(TransformId identifier) | 434 TransformFactory::getTransformName(TransformId identifier) |