Use QIODevice::Append when opening the file. please only paste the relevant code directly in the post using the [ CODE ] tags.


EDIT: And instead of creating a temporary QStringList, write the values direct in the stream.