mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
This commit is contained in:
parent
45d487f16e
commit
6b019a4953
84 changed files with 726 additions and 712 deletions
|
|
@ -34,6 +34,7 @@
|
|||
#include "prompter.h"
|
||||
#include "utils.h"
|
||||
#include "public_editor.h"
|
||||
#include "ui_config.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
@ -1017,7 +1018,7 @@ LocationUI::add_new_location()
|
|||
framepos_t where = _session->audible_frame();
|
||||
_session->locations()->next_available_name(markername,"mark");
|
||||
Location *location = new Location (*_session, where, where, markername, Location::IsMark);
|
||||
if (ARDOUR_UI::config()->get_name_new_markers()) {
|
||||
if (UIConfiguration::instance().get_name_new_markers()) {
|
||||
newest_location = location;
|
||||
}
|
||||
PublicEditor::instance().begin_reversible_command (_("add marker"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue