QRegularExpression: operator<<(QDebug, PatternOptions) improvements
authorGiuseppe D'Angelo <dangelog@gmail.com>
Fri, 23 Mar 2012 05:51:11 +0000 (05:51 +0000)
committerQt by Nokia <qt-info@nokia.com>
Sat, 31 Mar 2012 16:31:29 +0000 (18:31 +0200)
commit989b7f2337aa45de2cbbf34c634364b4469ee342
tree0411d49ea208cbe82be86fa5f351addda2690fd3
parent0556540b41c012712753d1ec79620b1b0ff1f17d
QRegularExpression: operator<<(QDebug, PatternOptions) improvements

Avoid building a QStringList and then joining the strings with pipes;
directly append the flags to a QByteArray instead.

Change-Id: Ic352b756ed1e3b6b579b9ca412636a2b394d2eb5
Reviewed-by: hjk <qthjk@ovi.com>
src/corelib/tools/qregularexpression.cpp