[vlmc-devel] Timeline: The thumbnail provider doesn' t need to be accessed directly anymore

Hugo Beauzée-Luyssen git at videolan.org
Fri Jul 21 19:06:55 CEST 2017


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Nov  1 16:43:12 2016 +0100| [8535700ef5ad2cd5cb3fe0dc3399b916661827df] | committer: Yikai Lu

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

Signed-off-by: Yikai Lu <luyikei.qmltu at gmail.com>

> https://code.videolan.org/videolan/vlmc/commit/8535700ef5ad2cd5cb3fe0dc3399b916661827df
---

 src/Gui/timeline/Timeline.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/Gui/timeline/Timeline.cpp b/src/Gui/timeline/Timeline.cpp
index da2c6ca5..b714fd68 100644
--- a/src/Gui/timeline/Timeline.cpp
+++ b/src/Gui/timeline/Timeline.cpp
@@ -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() );



More information about the Vlmc-devel mailing list