Use StringRef::load() to initialize DefaultProperty string
authorKent Hansen <kent.hansen@nokia.com>
Mon, 5 Mar 2012 11:58:50 +0000 (12:58 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 7 Mar 2012 11:10:43 +0000 (12:10 +0100)
commitee9cac7c3ad25e1e54286bb1b307bd3373383263
tree3753c1ae235907f4d9677ba672ca5d72e7d16af0
parent5d8b07bd6ad6550ce6464973c5132580589a96a2
Use StringRef::load() to initialize DefaultProperty string

Micro-cleanup; don't access the string data directly. load() is
inline. It additionally asserts that the string length matches.

Change-Id: Ie24df83ea68b96179792995d062db7872933b1a8
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/qml/qml/qqmlcompiler.cpp