summaryrefslogtreecommitdiffstats
path: root/src/client/PluginModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-28 21:17:44 +0000
committerDavid Robillard <d@drobilla.net>2009-05-28 21:17:44 +0000
commitc37080eae184227a74e5c96237d6e7bf398fbf16 (patch)
treef878e03d1176e19810ad22a3ffb61c1c69bda56d /src/client/PluginModel.cpp
parent64a40ac2323cda14ecbce4e41618d6db32fd3573 (diff)
downloadingen-c37080eae184227a74e5c96237d6e7bf398fbf16.tar.gz
ingen-c37080eae184227a74e5c96237d6e7bf398fbf16.tar.bz2
ingen-c37080eae184227a74e5c96237d6e7bf398fbf16.zip
Fix LADSPA names in plugin selection dialog.
Fix request interface for non-graph objects (i.e. plugins). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2034 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PluginModel.cpp')
-rw-r--r--src/client/PluginModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index 7998f8e2..4f1a4626 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -61,7 +61,7 @@ PluginModel::PluginModel(const URI& uri, const URI& type_uri, const Resource::Pr
const Atom&
PluginModel::get_property(const URI& key) const
{
- static Atom nil_atom(Atom::NIL);
+ static const Atom nil;
const Atom& val = ResourceImpl::get_property(key);
if (val.is_valid())
return val;
@@ -124,7 +124,7 @@ PluginModel::get_property(const URI& key) const
}
#endif
- return nil_atom;
+ return nil;
}