mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
This commit is contained in:
parent
9b3b1d945f
commit
17ace643e4
94 changed files with 294 additions and 254 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue