Skip to content
Snippets Groups Projects
Commit 1fb307f7 authored by Lyndon Brown's avatar Lyndon Brown Committed by Romain Vimont
Browse files

qt: remove unnecessary item skipping

`module_config_get()` already filters these out so this is redundant.
parent 8ec0dfc3
No related branches found
No related tags found
1 merge request!314qt: remove unnecessary item skipping
Pipeline #112680 passed with stage
in 48 minutes and 18 seconds
......@@ -570,9 +570,6 @@ bool PrefsItemData::contains( const QString &text, Qt::CaseSensitivity cs )
continue;
}
/* private options (hidden from GUI but not help output) are not relevant */
if( p_item->b_internal ) continue;
/* cat-hint items are not relevant, they are an alternate set of headings for help output */
if( p_item->i_type == CONFIG_HINT_CATEGORY ) continue;
......@@ -686,7 +683,6 @@ AdvPrefsPanel::AdvPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,
( p_item->i_type == CONFIG_CATEGORY ||
p_item->i_type == CONFIG_SUBCATEGORY ) )
break;
if( p_item->b_internal ) continue;
if( p_item->i_type == CONFIG_SECTION )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment