From da849d4bbe24793b650a80fdb00ce87c1c94517f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 6 Jun 2007 02:51:08 +0000 Subject: Nicer Flowcanvas naming. git-svn-id: http://svn.drobilla.net/lad/ingen@529 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/Port.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/gui/Port.cpp') diff --git a/src/libs/gui/Port.cpp b/src/libs/gui/Port.cpp index 9b21b8be..a03a60d4 100644 --- a/src/libs/gui/Port.cpp +++ b/src/libs/gui/Port.cpp @@ -34,8 +34,8 @@ namespace GUI { /** @param flip Make an input port appear as an output port, and vice versa. */ -Port::Port(boost::shared_ptr module, SharedPtr pm, bool flip, bool destroyable) -: LibFlowCanvas::Port(module, +Port::Port(boost::shared_ptr module, SharedPtr pm, bool flip, bool destroyable) +: FlowCanvas::Port(module, pm->path().name(), flip ? (!pm->is_input()) : pm->is_input(), App::instance().configuration()->get_port_color(pm.get())), -- cgit v1.2.1