[vlc-devel] commit: Qt: don't show plugins with no capabilities in Releases. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Jan 24 00:21:05 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 24 00:20:02 2009 +0100| [37a51ff8d955218c79b89cb73340a852d43933ac] | committer: Jean-Baptiste Kempf
Qt: don't show plugins with no capabilities in Releases.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37a51ff8d955218c79b89cb73340a852d43933ac
---
modules/gui/qt4/dialogs/plugins.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index f4289d1..ee8d52b 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -101,6 +101,9 @@ inline void PluginDialog::FillTree()
qs_item << qfu( module_get_name( p_module, true ) )
<< qfu( module_get_capability( p_module ) )
<< QString::number( module_get_score( p_module ) );
+#ifndef DEBUG
+ if( qs_item.at(1).isEmpty() ) continue;
+#endif
QTreeWidgetItem *item = new QTreeWidgetItem( qs_item );
treePlugins->addTopLevelItem( item );
More information about the vlc-devel
mailing list