From 1c5edaf3d568abb2e6720b5059bb582befeb1443 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 30 Nov 2011 23:07:41 +0000 Subject: Remove redundant Connection::_source and Connection::_dest. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3708 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/EdgeView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/EdgeView.cpp b/src/gui/EdgeView.cpp index 7daf8ea..5bdf227 100644 --- a/src/gui/EdgeView.cpp +++ b/src/gui/EdgeView.cpp @@ -84,7 +84,7 @@ EdgeView::probability() const double EdgeView::length_hint() const { - NodeView* tail = dynamic_cast(source()); + NodeView* tail = dynamic_cast(get_tail()); return tail->node()->get(URIs::instance().machina_duration).get_float() * 10.0; } -- cgit v1.2.1