[vlc-devel] [PATCH 20/21] qml: fix toolbareditor ReferenceError
Fatih Uzunoglu
fuzun54 at outlook.com
Sat Nov 7 17:53:39 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.25.1
More information about the vlc-devel
mailing list