fix: define TimeRuler::SetCenteredText (declared but never defined)

Any caller would hit a link error; there were none, so the bug was
latent until the new widget tests called it.
This commit is contained in:
2026-07-17 15:48:03 +08:00
parent e9488904b3
commit b4db6ebc88
+7
View File
@@ -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_) {