QGridLayout *l, int &line) :
VStringConfigControl( _p_this, _p_item, _parent )
{
+ groupBox = NULL;
+ if( !p_item->psz_text ) return;
+
groupBox = new QGroupBox ( qtr(p_item->psz_text) );
- text = new QLineEdit();
+ text = new QLineEdit;
QGridLayout *layoutGroupBox = new QGridLayout( groupBox );
finish( bycat );
{
delete *it;
}
- delete groupBox;
- delete text;
+ if( groupBox ) delete groupBox;
}
#define CHECKBOX_LISTS \