Constification: make Stateful::get_state() const, with all other required const-ness added (GUI)

This commit is contained in:
Paul Davis 2022-04-06 21:56:45 -06:00
parent 7bf89ce109
commit ca22ba77e1
35 changed files with 43 additions and 42 deletions

View file

@ -260,7 +260,7 @@ VirtualKeyboardWindow::parameter_changed (std::string const& p)
}
XMLNode&
VirtualKeyboardWindow::get_state ()
VirtualKeyboardWindow::get_state () const
{
XMLNode* node = new XMLNode (X_("VirtualKeyboard"));
node->set_property (X_("Channel"), _midi_channel.get_text ());