diff options
author | Robin Gareus <robin@gareus.org> | 2019-05-25 00:12:55 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-05-25 00:12:55 +0200 |
commit | 92cfed14cf3ab5cdf2d0f5b0c5d8662aaeb73c5c (patch) | |
tree | a353d38b2e942af4e30e78c6ae89f8f884e4776d /gtk2_ardour/route_params_ui.h | |
parent | ce8740cf5e45b57e4d3551689ac144076b08e336 (diff) |
Re-use the Mixer's PluginManager (singleton)
Previously there were three plugin-manager instances (two of which
were never destroyed).
There were also 3 sets of context-menus (favorites, by tag, by author..),
all of which were re-built when plugin stati changed.
Since the Plugin-manager is a modal dialog, it can be re-used in
all contexts (route-ui, monitor-section, mixer).
Diffstat (limited to 'gtk2_ardour/route_params_ui.h')
-rw-r--r-- | gtk2_ardour/route_params_ui.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/route_params_ui.h b/gtk2_ardour/route_params_ui.h index 6b047356fc..1bd850daf9 100644 --- a/gtk2_ardour/route_params_ui.h +++ b/gtk2_ardour/route_params_ui.h @@ -64,7 +64,7 @@ public: void set_session (ARDOUR::Session*); void session_going_away (); - PluginSelector* plugin_selector() { return _plugin_selector; } + PluginSelector* plugin_selector(); private: Gtk::VBox list_vpacker; @@ -112,7 +112,6 @@ private: IOSelector * _input_iosel; IOSelector * _output_iosel; - PluginSelector *_plugin_selector; ProcessorSelection _p_selection; boost::shared_ptr<ARDOUR::Route> _route; |