diff --git a/app/widget/timeruler/timeruler.cpp b/app/widget/timeruler/timeruler.cpp index c4069d770..cb2d3b02f 100644 --- a/app/widget/timeruler/timeruler.cpp +++ b/app/widget/timeruler/timeruler.cpp @@ -76,6 +76,13 @@ TimeRuler::TimeRuler(bool text_visible, bool cache_status_visible, setAlignment(Qt::AlignLeft | Qt::AlignTop); } +void TimeRuler::SetCenteredText(bool c) +{ + centered_text_ = c; + + update(); +} + void TimeRuler::SetPlaybackCache(PlaybackCache *cache) { if (!show_cache_status_) {