OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)

This commit is contained in:
Paul Davis 2016-05-04 23:09:37 -04:00
parent 9b3b1d945f
commit 17ace643e4
94 changed files with 294 additions and 254 deletions

View file

@ -1143,7 +1143,7 @@ LocationUI::clock_mode_from_session_instant_xml () const
return AudioClock::Frames;
}
XMLProperty* p = node->property (X_("clock-mode"));
XMLProperty const * p = node->property (X_("clock-mode"));
if (!p) {
return ARDOUR_UI::instance()->secondary_clock->mode();
}