Commit 23f5a2f2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove unneeded code.

parent e9d699e4
......@@ -998,7 +998,7 @@ BoolConfigControl::BoolConfigControl( vlc_object_t *_p_this,
VIntConfigControl( _p_this, _p_item )
{
checkbox = _checkbox;
label = _label;
VLC_UNUSED( _label );
finish();
}
......@@ -1007,8 +1007,6 @@ void BoolConfigControl::finish()
checkbox->setCheckState( p_item->value.i == true ? Qt::Checked
: Qt::Unchecked );
checkbox->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
}
int BoolConfigControl::getValue()
......
......@@ -192,7 +192,6 @@ public:
virtual int getType() { return CONFIG_ITEM_BOOL; }
private:
QCheckBox *checkbox;
QLabel *label;
void finish();
};
......
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