summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptclass.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-03-01 13:10:08 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-03-01 13:15:11 (GMT)
commit124cc3c0dfe18c2e5027a0eee430ac03b48807c0 (patch)
tree20c289a0785786c124eef5908ed5a7cd276c2a45 /doc/src/snippets/code/src_script_qscriptclass.cpp
parent17a4f332f0d416af842145f0ebc7f2ebe7f33527 (diff)
downloadQt-124cc3c0dfe18c2e5027a0eee430ac03b48807c0.zip
Qt-124cc3c0dfe18c2e5027a0eee430ac03b48807c0.tar.gz
Qt-124cc3c0dfe18c2e5027a0eee430ac03b48807c0.tar.bz2
Wrap qPrintable inside QString
QString() is a no-op if string is already a QString And it fixes the compilation if other types are use that do not have toLocal8Bit such as QStringBuilder. WebKit trunk has an instance of such usage. Reviewed-by: Joao
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions