mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
require use of BBT_Argument as both parameter and return type from most methods (GUI edition)
This commit is contained in:
parent
259499fc5f
commit
2c7bfa9ead
6 changed files with 17 additions and 15 deletions
|
|
@ -608,7 +608,7 @@ TempoDialog::tap_tempo_focus_out (GdkEventFocus* )
|
|||
MeterDialog::MeterDialog (TempoMap::SharedPtr const & map, timepos_t const & pos, const string&)
|
||||
: ArdourDialog (_("New Time Signature"))
|
||||
{
|
||||
Temporal::BBT_Time when (map->round_to_bar (map->bbt_at (pos)));
|
||||
Temporal::BBT_Argument when (map->round_to_bar (map->bbt_at (pos)));
|
||||
Meter const & meter (map->meter_at (when));
|
||||
|
||||
init (when, meter.divisions_per_bar(), meter.note_value(), false, pos.time_domain());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue