Commit 8535700e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by luyikei

Timeline: The thumbnail provider doesn't need to be accessed directly anymore

Signed-off-by: luyikei's avatarYikai Lu <luyikei.qmltu@gmail.com>
parent 8a5d3771
......@@ -52,7 +52,6 @@ Timeline::Timeline( Settings* projectSettings, MainWindow* parent )
m_container->setFocusPolicy( Qt::TabFocus );
auto p = new ThumbnailImageProvider;
m_view->engine()->addImageProvider( QStringLiteral( "thumbnail" ), p );
m_view->rootContext()->setContextProperty( QStringLiteral( "thumbnailProvider" ), p );
m_view->rootContext()->setContextProperty( QStringLiteral( "timeline" ), this );
m_view->rootContext()->setContextProperty( QStringLiteral( "mainwindow" ), parent );
m_view->rootContext()->setContextProperty( QStringLiteral( "workflow" ), Core::instance()->workflow() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment