Commit 37a51ff8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: don't show plugins with no capabilities in Releases.

parent a09da968
...@@ -101,6 +101,9 @@ inline void PluginDialog::FillTree() ...@@ -101,6 +101,9 @@ inline void PluginDialog::FillTree()
qs_item << qfu( module_get_name( p_module, true ) ) qs_item << qfu( module_get_name( p_module, true ) )
<< qfu( module_get_capability( p_module ) ) << qfu( module_get_capability( p_module ) )
<< QString::number( module_get_score( 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 ); QTreeWidgetItem *item = new QTreeWidgetItem( qs_item );
treePlugins->addTopLevelItem( item ); treePlugins->addTopLevelItem( item );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment