From 6a47edcd35884095946f761fa3aa2367c7c26442 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 28 Sep 2023 10:43:48 +1000 Subject: Use databinding for the top bar. It's so nice now! --- src/ui/include/screen_playing.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ui/include/screen_playing.hpp') diff --git a/src/ui/include/screen_playing.hpp b/src/ui/include/screen_playing.hpp index fff9cc35..185c55cc 100644 --- a/src/ui/include/screen_playing.hpp +++ b/src/ui/include/screen_playing.hpp @@ -18,6 +18,7 @@ #include "database.hpp" #include "future_fetcher.hpp" #include "model_playback.hpp" +#include "model_top_bar.hpp" #include "screen.hpp" #include "track.hpp" #include "track_queue.hpp" @@ -31,7 +32,8 @@ namespace screens { */ class Playing : public Screen { public: - explicit Playing(models::Playback& playback_model, + explicit Playing(models::TopBar&, + models::Playback& playback_model, std::weak_ptr db, audio::TrackQueue& queue); ~Playing(); -- cgit v1.2.3