summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-16 01:45:48 +0000
committerDavid Robillard <d@drobilla.net>2010-12-16 01:45:48 +0000
commit6ff0b063d9ffb66e690d34bcf934eeab1a3bf46d (patch)
tree74c6dd9ac7faf7eb0c0a419a0c0306a8364900ab /src/client
parent2fd0fa4543f4863d56be4a2e879508c3459fd9b3 (diff)
downloadingen-6ff0b063d9ffb66e690d34bcf934eeab1a3bf46d.tar.gz
ingen-6ff0b063d9ffb66e690d34bcf934eeab1a3bf46d.tar.bz2
ingen-6ff0b063d9ffb66e690d34bcf934eeab1a3bf46d.zip
Fix compilation without HAVE_SLV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2718 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-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 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<PluginModel> 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