Commit e12c2e97 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

SettingsWidget: Don't display private vars

parent 58bd9351
......@@ -54,6 +54,9 @@ PreferenceWidget::PreferenceWidget( const char *category, SettingsManager::Type
foreach ( SettingValue* s, settings.values() )
{
//Do not display private variables
if ( ( s->flags() & SettingValue::Private ) != 0 )
continue ;
ISettingsCategoryWidget *widget = widgetFactory( s );
QLabel *label = new QLabel( tr( s->name() ), this );
label->setToolTip( tr( s->description() ) );
......
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