mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +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
|
|
@ -21,13 +21,13 @@
|
|||
|
||||
#include "canvas/canvas.h"
|
||||
|
||||
#include "ardour_ui.h"
|
||||
#include "editor.h"
|
||||
#include "editing.h"
|
||||
#include "audio_time_axis.h"
|
||||
#include "route_time_axis.h"
|
||||
#include "audio_region_view.h"
|
||||
#include "selection.h"
|
||||
#include "ui_config.h"
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ void
|
|||
Editor::toggle_meter_updating()
|
||||
{
|
||||
DisplaySuspender ds;
|
||||
if (ARDOUR_UI::config()->get_show_track_meters()) {
|
||||
if (UIConfiguration::instance().get_show_track_meters()) {
|
||||
start_updating_meters ();
|
||||
} else {
|
||||
stop_updating_meters ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue