diff options
author | David Robillard <d@drobilla.net> | 2011-11-30 23:07:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-30 23:07:41 +0000 |
commit | 1c5edaf3d568abb2e6720b5059bb582befeb1443 (patch) | |
tree | 30970d0128c5f2b30a69b0cf733eb217e7d98912 | |
parent | fc37db61e6293fdc4a59cd83427b0df07b93884d (diff) | |
download | machina-1c5edaf3d568abb2e6720b5059bb582befeb1443.tar.gz machina-1c5edaf3d568abb2e6720b5059bb582befeb1443.tar.bz2 machina-1c5edaf3d568abb2e6720b5059bb582befeb1443.zip |
Remove redundant Connection::_source and Connection::_dest.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3708 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/gui/EdgeView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<NodeView*>(source()); + NodeView* tail = dynamic_cast<NodeView*>(get_tail()); return tail->node()->get(URIs::instance().machina_duration).get_float() * 10.0; } |