[vlc-devel] [PATCH 7/7] qt: info_panels: replace deprecated QTreeWidget::setItemExpanded

Alexandre Janniaux ajanni at videolabs.io
Thu Jul 25 01:14:55 CEST 2019


---
 modules/gui/qt/components/info_panels.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/info_panels.cpp b/modules/gui/qt/components/info_panels.cpp
index 73ee351c5e..5aea94bf17 100644
--- a/modules/gui/qt/components/info_panels.cpp
+++ b/modules/gui/qt/components/info_panels.cpp
@@ -516,7 +516,7 @@ void InfoPanel::update( input_item_t *p_item)
                                     + qfu(info->psz_value));
             current_item->addChild(child_item);
         }
-        InfoTree->setItemExpanded( current_item, true);
+        current_item->setExpanded( true );
     }
 }
 
-- 
2.22.0



More information about the vlc-devel mailing list