1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 15:47:38 +02:00

* Call startOnDemand() when initializing DynamicQmlWidget. Not sure if we need to wait for a revision to be loaded first, though.

This commit is contained in:
Christian Muehlhaeuser
2012-07-03 23:43:32 +02:00
parent e81baf0eb7
commit 692a4043e8

View File

@@ -26,9 +26,9 @@ DynamicQmlWidget::DynamicQmlWidget( const dynplaylist_ptr& playlist, QWidget* pa
rootContext()->setContextProperty( "dynamicModel", m_proxyModel ); rootContext()->setContextProperty( "dynamicModel", m_proxyModel );
m_model->loadPlaylist( m_playlist ); m_model->loadPlaylist( m_playlist );
m_model->startOnDemand();
setSource( QUrl( "qrc" RESPATH "qml/StationScene.qml" ) ); setSource( QUrl( "qrc" RESPATH "qml/StationScene.qml" ) );
// TODO: fill m_model with the station stuff
} }