From a5f256cf923d165afd273914a13726d745a59cbc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 6 Dec 2011 05:09:37 +0000 Subject: Death to Module.cpp. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3817 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchCanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/PatchCanvas.cpp') diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index d61b3969..a25acac3 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -401,7 +401,7 @@ PatchCanvas::add_node(SharedPtr nm) 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)); + module->set_icon(_app.icon_from_path(plugm->icon_path(), 100).operator->()); } module->show(); -- cgit v1.2.1