Fix unit test error in qndefrecord.
authorAlex Blasche <alexander.blasche@digia.com>
Thu, 10 Oct 2013 08:35:40 +0000 (10:35 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 11 Oct 2013 14:49:24 +0000 (16:49 +0200)
commit686b36a13ca3984879adbe712e86c20c9b4214e3
treea0fab8260ea448483dfbbd914375277c0aab7fe6
parenta575626bd20223f7a906162dcfb74963291a1330
Fix unit test error in qndefrecord.

The typenameformat signal was not always emitted due to insufficient logic
associated with first time initialization of QQmlNdefRecord. This error
only happened when the compiler didn't initialize
QNdefRecordPrivate::typeNameFormat to 0.

Change-Id: Ieba0a1d7c940c40980ff455ca5c1665c298c0527
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
src/nfc/qndefrecord_p.h
src/nfc/qqmlndefrecord.cpp