From 6ff0b063d9ffb66e690d34bcf934eeab1a3bf46d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2010 01:45:48 +0000 Subject: Fix compilation without HAVE_SLV2. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2718 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/PluginModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 9f5c70de..eec2d9b8 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -134,10 +134,10 @@ PluginModel::get_property(const URI& key) const void PluginModel::set(SharedPtr p) { - _type = p->_type; - _icon_path = p->_icon_path; + _type = p->_type; #ifdef HAVE_SLV2 + _icon_path = p->_icon_path; if (p->_slv2_plugin) _slv2_plugin = p->_slv2_plugin; #endif -- cgit v1.2.1