[vlc-commits] qml: fix toolbareditor ReferenceError
    Fatih Uzunoglu 
    git at videolan.org
       
    Mon Dec  7 10:08:16 UTC 2020
    
    
  
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Dec  4 02:01:36 2020 +0300| [c5235350c82831a84114449a29feed4133f6e5c1] | committer: Pierre Lamot
qml: fix toolbareditor ReferenceError
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5235350c82831a84114449a29feed4133f6e5c1
---
 modules/gui/qt/dialogs/toolbar/toolbareditor.cpp | 1 +
 1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/dialogs/toolbar/toolbareditor.cpp b/modules/gui/qt/dialogs/toolbar/toolbareditor.cpp
index d6efb5584a..121f8b3d1f 100644
--- a/modules/gui/qt/dialogs/toolbar/toolbareditor.cpp
+++ b/modules/gui/qt/dialogs/toolbar/toolbareditor.cpp
@@ -108,6 +108,7 @@ ToolbarEditorDialog::ToolbarEditorDialog( QWidget *_w, intf_thread_t *_p_intf)
     rootCtx->setContextProperty( "systemPalette", new SystemPalette(engine));
     rootCtx->setContextProperty( "medialib", nullptr );
     rootCtx->setContextProperty( "toolbareditor",  this);
+    rootCtx->setContextProperty( "rootPlayer", nullptr );
 
     editorView->setSource( QUrl ( QStringLiteral("qrc:/dialogs/ToolbarEditor.qml") ) );
 
    
    
More information about the vlc-commits
mailing list