mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-24 07:46:20 +00:00
Use \n instead of ; as a separator.
This commit is contained in:
parent
c2b19ca07d
commit
cf35ac8fae
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ void ConstStrArrEditDialog::setValue( const QString &value )
|
||||||
if( value.isEmpty() )
|
if( value.isEmpty() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QStringList l = value.split( ';' );
|
QStringList l = value.split( '\n' );
|
||||||
|
|
||||||
QStringListIterator itr( l );
|
QStringListIterator itr( l );
|
||||||
while( itr.hasNext() )
|
while( itr.hasNext() )
|
||||||
|
@ -67,7 +67,7 @@ QString ConstStrArrEditDialog::getValue() const
|
||||||
value += item->text();
|
value += item->text();
|
||||||
|
|
||||||
if( i < ( listWidget->count() - 1 ) )
|
if( i < ( listWidget->count() - 1 ) )
|
||||||
value += ';';
|
value += '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Reference in a new issue