projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change placement of ruler divider so that the lower line is at the specified height...
[ardour.git]
/
gtk2_ardour
/
quantize_dialog.cc
diff --git
a/gtk2_ardour/quantize_dialog.cc
b/gtk2_ardour/quantize_dialog.cc
index 98514326d5e9b6ef7c7a7ea081ef4a8a930876ac..82e3a1abd57fedd8500a485d79a0b6f0a50652a1 100644
(file)
--- a/
gtk2_ardour/quantize_dialog.cc
+++ b/
gtk2_ardour/quantize_dialog.cc
@@
-131,11
+131,11
@@
QuantizeDialog::grid_size_to_musical_time (const string& txt) const
if (txt == "main grid") {
bool success;
if (txt == "main grid") {
bool success;
- Evoral::
MusicalTime
b = editor.get_grid_type_as_beats (success, 0);
+ Evoral::
Beats
b = editor.get_grid_type_as_beats (success, 0);
if (!success) {
return 1.0;
}
if (!success) {
return 1.0;
}
- return
(double) b
;
+ return
b.to_double()
;
}
if (txt == _("Beats/128")) {
}
if (txt == _("Beats/128")) {