summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qcssparser.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <[email protected]>2012-05-11 18:41:56 +0300
committerQt by Nokia <[email protected]>2012-05-25 21:49:05 +0200
commitf728afcd85ba0d172377323bd7318b6e0a4f99a5 (patch)
tree6a38a01ab200df3dfd97950e8b91e77943644f93 /src/gui/text/qcssparser.cpp
parente96e80687e85b55d06d22a5f1e501a4e4ba3aaa6 (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 <[email protected]>
Diffstat (limited to 'src/gui/text/qcssparser.cpp')
0 files changed, 0 insertions, 0 deletions