diff options
author | David Robillard <d@drobilla.net> | 2007-12-31 05:51:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-12-31 05:51:27 +0000 |
commit | 1c2a70154bc1f9070c1a2b9b3cf98f8d398ca215 (patch) | |
tree | 9974f806dd345574ec1e1ac8503b7af4b8b255fa | |
parent | e6b0f1367d89e083b7e60ea2d78e74b68d755dc7 (diff) | |
download | patchage-1c2a70154bc1f9070c1a2b9b3cf98f8d398ca215.tar.gz patchage-1c2a70154bc1f9070c1a2b9b3cf98f8d398ca215.tar.bz2 patchage-1c2a70154bc1f9070c1a2b9b3cf98f8d398ca215.zip |
Clean up and remove useless code in FlowCanvas.
git-svn-id: http://svn.drobilla.net/lad/patchage@998 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/Patchage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 74644dc..e94fcaa 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -304,13 +304,12 @@ Patchage::idle_callback() // Do a full refresh (ie user clicked refresh) if (_refresh) { - _canvas->flag_all_connections(); + _canvas->destroy(); _jack_driver->refresh(); #ifdef HAVE_ALSA if (_alsa_driver) _alsa_driver->refresh(); #endif - _canvas->destroy_all_flagged_connections(); _refresh = false; } |