use centralized SMF tempo method in both places where we show it
[ardour.git] / gtk2_ardour / sfdb_ui.cc
index d3979959fd715defc15da7169bf4e42f9c8154fd..fd08e1441962791646963e9bd5e26f46020a6eb8 100644 (file)
@@ -344,7 +344,7 @@ SoundFileBox::setup_labels (const string& filename)
                                tempomap_value.set_text (string_compose (_("%1/%2 \u2669 = %3"),
                                                                         t->numerator,
                                                                         t->denominator,
-                                                                        (1000000 / t->microseconds_per_quarter_note) * 60));
+                                                                        t->tempo ()));
                                break;
                        }
                        default: