[vlmc-devel] Don't pass the Timeline object to the qml view

Yikai Lu git at videolan.org
Fri Aug 12 17:02:38 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Fri Aug 12 09:59:27 2016 -0500| [161f10a76a251d183c52d9d4bdbd391d52e0ebe8] | committer: Yikai Lu

Don't pass the Timeline object to the qml view

> https://code.videolan.org/videolan/vlmc/commit/161f10a76a251d183c52d9d4bdbd391d52e0ebe8
---

 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 55aeb59..5f8901d 100644
--- a/src/Gui/timeline/Timeline.cpp
+++ b/src/Gui/timeline/Timeline.cpp
@@ -41,7 +41,6 @@ Timeline::Timeline( MainWindow* parent )
 {
     m_container->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
     m_container->setFocusPolicy( Qt::TabFocus );
-    m_view->rootContext()->setContextProperty( QStringLiteral( "timeline" ), this );
     m_view->rootContext()->setContextProperty( QStringLiteral( "mainwindow" ), parent );
     m_view->rootContext()->setContextProperty( QStringLiteral( "workflow" ), Core::instance()->workflow() );
     m_view->setSource( QUrl( QStringLiteral( "qrc:/QML/main.qml" ) ) );



More information about the Vlmc-devel mailing list