Use \n instead of ; as a separator.

This commit is contained in:
dfighter1985 2014-07-11 20:41:15 +02:00
parent b9e12caaef
commit 3dc9d07f59

View file

@ -48,7 +48,7 @@ void ConstStrArrEditDialog::setValue( const QString &value )
if( value.isEmpty() )
return;
QStringList l = value.split( ';' );
QStringList l = value.split( '\n' );
QStringListIterator itr( l );
while( itr.hasNext() )
@ -67,7 +67,7 @@ QString ConstStrArrEditDialog::getValue() const
value += item->text();
if( i < ( listWidget->count() - 1 ) )
value += ';';
value += '\n';
}
return value;