summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-26 23:28:15 +0000
committerDavid Robillard <d@drobilla.net>2012-04-26 23:28:15 +0000
commit35edd6670930041f8d655612a275b2d453fc5c56 (patch)
treebd16b5f196f8abea2e4fb0936890b78c187f2b10 /src
parent005c93954d0e694f2b1733a395ceacdeb05302fc (diff)
downloadingen-35edd6670930041f8d655612a275b2d453fc5c56.tar.gz
ingen-35edd6670930041f8d655612a275b2d453fc5c56.tar.bz2
ingen-35edd6670930041f8d655612a275b2d453fc5c56.zip
Fix undefined reference.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4277 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/PatchCanvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 66868556..bf79e504 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -399,9 +399,9 @@ PatchCanvas::add_node(SharedPtr<const NodeModel> nm)
module = SubpatchModule::create(*this, pm, _human_names);
} else {
module = NodeModule::create(*this, nm, _human_names);
- const PluginModel* plugm = dynamic_cast<const PluginModel*>(nm->plugin());
- if (plugm && !plugm->icon_path().empty())
- module->set_icon(_app.icon_from_path(plugm->icon_path(), 100).operator->());
+ //const PluginModel* plugm = dynamic_cast<const PluginModel*>(nm->plugin());
+ //if (plugm && !plugm->icon_path().empty())
+ // module->set_icon(_app.icon_from_path(plugm->icon_path(), 100).operator->());
}
module->show();