mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-12-13 18:43:55 +00:00
Implement playlist model and UI
This commit is contained in:
parent
e04ec364c1
commit
f09593c245
13 changed files with 309 additions and 36 deletions
|
|
@ -40,6 +40,8 @@ PlaybackManager::PlaybackManager(QObject *parent)
|
|||
m_mediaPlayer(new QMediaPlayer(this)),
|
||||
m_urlFetcherThread(new ItemUrlFetcherThread(this)),
|
||||
m_queue(new Model::Playlist(this)) {
|
||||
|
||||
m_displayQueue = new ViewModel::Playlist(m_queue, this);
|
||||
// Set up connections.
|
||||
m_updateTimer.setInterval(10000); // 10 seconds
|
||||
m_updateTimer.setSingleShot(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue