diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-10-15 10:45:11 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-10-22 18:41:56 +0000 |
commit | a903ddd8dc806b51c21c84965611880a25037562 (patch) | |
tree | d3dd3dfe4ce8915039bca90544cf93315be331d6 /src/gui | |
parent | d206d04b7c368754bca9c43d8a67895b4baa8893 (diff) |
QTextStream: Extract Method padding() from putString()
This is in preparation of adding a putString(QLatin1String) overload.
To keep the change simple, I kept the construction of the padChar
chain per putString() call. It probably makes sense to have a
QString::resize(int, QChar) to perform the padding operation in-place.
Let's leave that for another changeset.
Change-Id: I9ef66b8df38117e1669fd2bece6ee180a2ce3369
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions