[vlc-devel] [PATCH 01/27] qml: fix toolbareditor ReferenceError

Fatih Uzunoglu fuzun54 at outlook.com
Fri Dec 4 00:01:36 CET 2020


---
 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") ) );
 
-- 
2.27.0



More information about the vlc-devel mailing list