diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2012-03-28 15:10:52 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-30 13:24:00 +0200 |
commit | 26d12ecd27d10cd7ca4515badfe39919a191fbf0 (patch) | |
tree | 5cea47abde5051f03b00b0d4ba5f7981110ff0cb /src/corelib/kernel/qobject.cpp | |
parent | 4ef5a6269c1465662ea3872596ba284a13cce25e (diff) |
Verify presence of "magic cookie" before more expensive reads
Moved this simple sanitation out of do_load as it will prevent us from
loading misplaced (or misfound) files into memory in the first place.
We'll still load anything minimally looking like a translation file.
Change-Id: Ia138be010979d4a66d330f7414fce3df20727e68
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions