Commit 92a4720a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Indentation fix on previous commit.

parent c2fe37f6
...@@ -479,9 +479,9 @@ QString ModuleConfigControl::getValue() ...@@ -479,9 +479,9 @@ QString ModuleConfigControl::getValue()
/********* Module list **********/ /********* Module list **********/
ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this, ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this,
module_config_t *_p_item, QWidget *_parent, bool bycat, module_config_t *_p_item, QWidget *_parent, bool bycat,
QGridLayout *l, int &line) : QGridLayout *l, int &line) :
VStringConfigControl( _p_this, _p_item, _parent ) VStringConfigControl( _p_this, _p_item, _parent )
{ {
groupBox = new QGroupBox ( qfu(p_item->psz_text) ); groupBox = new QGroupBox ( qfu(p_item->psz_text) );
text = new QLineEdit(); text = new QLineEdit();
...@@ -491,7 +491,7 @@ ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this, ...@@ -491,7 +491,7 @@ ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this,
int boxline = 0; int boxline = 0;
for( QVector<checkBoxListItem*>::iterator it = modules.begin(); for( QVector<checkBoxListItem*>::iterator it = modules.begin();
it != modules.end(); it++ ) it != modules.end(); it++ )
{ {
layoutGroupBox->addWidget( (*it)->checkBox, boxline++, 0 ); layoutGroupBox->addWidget( (*it)->checkBox, boxline++, 0 );
} }
...@@ -512,8 +512,8 @@ ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this, ...@@ -512,8 +512,8 @@ ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this,
} }
#if 0 #if 0
ModuleConfigControl::ModuleConfigControl( vlc_object_t *_p_this, ModuleConfigControl::ModuleConfigControl( vlc_object_t *_p_this,
module_config_t *_p_item, QLabel *_label, QComboBox *_combo, module_config_t *_p_item, QLabel *_label, QComboBox *_combo,
bool bycat ) : VStringConfigControl( _p_this, _p_item ) bool bycat ) : VStringConfigControl( _p_this, _p_item )
{ {
combo = _combo; combo = _combo;
label = _label; label = _label;
...@@ -524,7 +524,7 @@ ModuleConfigControl::ModuleConfigControl( vlc_object_t *_p_this, ...@@ -524,7 +524,7 @@ ModuleConfigControl::ModuleConfigControl( vlc_object_t *_p_this,
ModuleListConfigControl::~ModuleListConfigControl() ModuleListConfigControl::~ModuleListConfigControl()
{ {
for( QVector<checkBoxListItem*>::iterator it = modules.begin(); for( QVector<checkBoxListItem*>::iterator it = modules.begin();
it != modules.end(); it++ ) it != modules.end(); it++ )
{ {
delete *it; delete *it;
} }
...@@ -549,7 +549,7 @@ ModuleListConfigControl::~ModuleListConfigControl() ...@@ -549,7 +549,7 @@ ModuleListConfigControl::~ModuleListConfigControl()
: p_parser->psz_object_name ); \ : p_parser->psz_object_name ); \
modules.push_back( cbl ); \ modules.push_back( cbl ); \
} }
void ModuleListConfigControl::finish( bool bycat ) void ModuleListConfigControl::finish( bool bycat )
{ {
...@@ -571,16 +571,16 @@ void ModuleListConfigControl::finish( bool bycat ) ...@@ -571,16 +571,16 @@ void ModuleListConfigControl::finish( bool bycat )
module_config_t *p_config = p_parser->p_config + i; module_config_t *p_config = p_parser->p_config + i;
/* Hack: required subcategory is stored in i_min */ /* Hack: required subcategory is stored in i_min */
if( p_config->i_type == CONFIG_SUBCATEGORY && if( p_config->i_type == CONFIG_SUBCATEGORY &&
p_config->value.i == p_item->min.i ) p_config->value.i == p_item->min.i )
{ {
CHECKBOX_LISTS; CHECKBOX_LISTS;
} }
} }
} }
else if( !strcmp( p_parser->psz_capability, p_item->psz_type ) ) else if( !strcmp( p_parser->psz_capability, p_item->psz_type ) )
{ {
CHECKBOX_LISTS; CHECKBOX_LISTS;
} }
} }
vlc_list_release( p_list ); vlc_list_release( p_list );
text->setToolTip( formatTooltip(qfu(p_item->psz_longtext)) ); text->setToolTip( formatTooltip(qfu(p_item->psz_longtext)) );
......
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