summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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