summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PluginModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PluginModel.h')
-rw-r--r--src/libs/client/PluginModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/client/PluginModel.h b/src/libs/client/PluginModel.h
index 20777bd9..16ad8c48 100644
--- a/src/libs/client/PluginModel.h
+++ b/src/libs/client/PluginModel.h
@@ -48,7 +48,9 @@ public:
, _name(name)
{
set_type_from_uri(type_uri);
+#ifdef HAVE_SLV2
_slv2_plugin = slv2_plugins_get_by_uri(_slv2_plugins, uri.c_str());
+#endif
}
Type type() const { return _type; }