diff 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
line wrap: on
line diff
--- a/plugin/transform/TransformFactory.cpp	Wed Nov 07 14:53:12 2007 +0000
+++ b/plugin/transform/TransformFactory.cpp	Fri Nov 09 17:46:58 2007 +0000
@@ -426,6 +426,7 @@
 bool
 TransformFactory::haveTransform(TransformId identifier)
 {
+    if (m_transforms.empty()) populateTransforms();
     return (m_transforms.find(identifier) != m_transforms.end());
 }