From 35edd6670930041f8d655612a275b2d453fc5c56 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Apr 2012 23:28:15 +0000 Subject: Fix undefined reference. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4277 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchCanvas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 nm) module = SubpatchModule::create(*this, pm, _human_names); } else { module = NodeModule::create(*this, nm, _human_names); - const PluginModel* plugm = dynamic_cast(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(nm->plugin()); + //if (plugm && !plugm->icon_path().empty()) + // module->set_icon(_app.icon_from_path(plugm->icon_path(), 100).operator->()); } module->show(); -- cgit v1.2.1