[vlc-commits] qt: info_panels: replace deprecated QTreeWidget::setItemExpanded

Alexandre Janniaux git at videolan.org
Sun Jul 28 08:36:04 CEST 2019


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jul 25 01:14:55 2019 +0200| [fdb723f2a401def792982d561b526dd8d9b0d259] | committer: Jean-Baptiste Kempf

qt: info_panels: replace deprecated QTreeWidget::setItemExpanded

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fdb723f2a401def792982d561b526dd8d9b0d259
---

 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 );
     }
 }
 



More information about the vlc-commits mailing list