diff options
Diffstat (limited to 'src/sound/MappedStudio.cpp')
-rw-r--r-- | src/sound/MappedStudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound/MappedStudio.cpp b/src/sound/MappedStudio.cpp index 1bb6cec..e5a583c 100644 --- a/src/sound/MappedStudio.cpp +++ b/src/sound/MappedStudio.cpp @@ -1410,7 +1410,7 @@ MappedPluginSlot::setProperty(const MappedObjectProperty &property, // populate myself and my ports PluginFactory *factory = PluginFactory::instanceFor(m_identifier); if (!factory) { - std::cerr << "WARNING: MappedPluginSlot::setProperty(identifier): No plugin factory for identifier " << m_identifier << "!" << std::endl; + std::cerr << "WARNING: MappedPluginSlot::setProperty(identifier): No plugin factory for identifier " << m_identifier.ascii() << "!" << std::endl; m_identifier = ""; return ; } @@ -1489,7 +1489,7 @@ MappedPluginSlot::setPropertyList(const MappedObjectProperty &property, studio->getSoundDriver()->configurePlugin(m_instrument, m_position, key, value); - if (rv && rv != "") { + if (!rv.isNull() && rv != "") { throw(rv); } } |