summaryrefslogtreecommitdiffstats
path: root/src/sound/MappedStudio.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
committerTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
commit4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch)
tree995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/sound/MappedStudio.cpp
parent1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff)
downloadrosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz
rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip
Fix FTBFS
Diffstat (limited to 'src/sound/MappedStudio.cpp')
-rw-r--r--src/sound/MappedStudio.cpp4
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);
}
}