summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2012-03-28 15:10:52 +0200
committerQt by Nokia <qt-info@nokia.com>2012-03-30 13:24:00 +0200
commit26d12ecd27d10cd7ca4515badfe39919a191fbf0 (patch)
tree5cea47abde5051f03b00b0d4ba5f7981110ff0cb /src/corelib/kernel/qobject.cpp
parent4ef5a6269c1465662ea3872596ba284a13cce25e (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