[vlc-commits] qt: fix wrong parent widget
Lyndon Brown
git at videolan.org
Mon Sep 28 09:25:23 CEST 2020
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sat May 11 21:51:03 2019 +0100| [d9ea0e5c089bee626fa4e8b155f46dadaca450fa] | committer: Pierre Lamot
qt: fix wrong parent widget
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9ea0e5c089bee626fa4e8b155f46dadaca450fa
---
modules/gui/qt/dialogs/preferences/preferences.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/dialogs/preferences/preferences.cpp b/modules/gui/qt/dialogs/preferences/preferences.cpp
index a340cfd6b6..9fb2eee207 100644
--- a/modules/gui/qt/dialogs/preferences/preferences.cpp
+++ b/modules/gui/qt/dialogs/preferences/preferences.cpp
@@ -154,7 +154,7 @@ void PrefsDialog::setAdvanced()
{
if ( !tree_filter )
{
- tree_filter = new SearchLineEdit( simple_tree_panel );
+ tree_filter = new SearchLineEdit( advanced_tree_panel );
tree_filter->setMinimumHeight( 26 );
CONNECT( tree_filter, textChanged( const QString & ),
@@ -178,7 +178,7 @@ void PrefsDialog::setAdvanced()
{
/* Creation */
p_list = module_list_get( &count );
- advanced_tree = new PrefsTree( p_intf, simple_tree_panel, p_list, count );
+ advanced_tree = new PrefsTree( p_intf, advanced_tree_panel, p_list, count );
/* and connections */
CONNECT( advanced_tree,
currentItemChanged( QTreeWidgetItem *, QTreeWidgetItem * ),
More information about the vlc-commits
mailing list