diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-05-11 18:41:56 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-25 21:49:05 +0200 |
commit | f728afcd85ba0d172377323bd7318b6e0a4f99a5 (patch) | |
tree | 6a38a01ab200df3dfd97950e8b91e77943644f93 /src/printsupport/dialogs | |
parent | e96e80687e85b55d06d22a5f1e501a4e4ba3aaa6 (diff) |
Centralize C-string and QByteArray string length calculation
QString::from{Ascii|Latin1|Utf8|Local8Bit} does the string length calculation for us,
so let's use that and don't repeat the copy-paste bugs like the previous commit has fixed.
Change-Id: If0bced3ebaf75b56dde6be1266c47c3fbf89dab0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/printsupport/dialogs')
0 files changed, 0 insertions, 0 deletions