Fix needless conversion from char * to QString
authorKai Koehne <kai.koehne@digia.com>
Wed, 7 Aug 2013 09:07:40 +0000 (11:07 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 9 Aug 2013 09:31:42 +0000 (11:31 +0200)
commit306292db8eb1a647f13b91f8ebe18fc5bebf073e
tree8ef0921962a5449aece020e45a6f5c701e7a2f07
parenta6d50d15f8b46ec8f4f22cbf61b76969de9d4f0b
Fix needless conversion from char * to QString

Converting the strings to UTF-16 unconditionally whenever the library is
loaded is overkill. Anyhow, the literals are only passed to methods also
accepting a QLatin1String, so we don't have to convert at all.

Change-Id: I84e813ac989344bc2e359f340696423766392c93
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/qml/qml/qqmlfile.cpp