diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2012-03-27 15:20:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-30 09:25:03 +0200 |
commit | f1b2f1acd1f3c62b765398f9fa4d2d1da3f295cb (patch) | |
tree | 0df5021dbb12f2f9e00583781e84e7a7132ee3d2 /src | |
parent | ffd20af339c64bf3af7983d20b029724a67f0734 (diff) |
Fix comments out of touch with reality
Change-Id: Id060626b0bb6c28f4e67c9b3c7a0fbc456f7dcc6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qtranslator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 3e77465037..bda1ab00ae 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -235,14 +235,14 @@ public: messageArray(0), offsetArray(0), contextArray(0), numerusRulesArray(0), messageLength(0), offsetLength(0), contextLength(0), numerusRulesLength(0) {} - // for mmap'ed files, this is what needs to be unmapped. #if defined(QT_USE_MMAP) bool used_mmap : 1; #endif - char *unmapPointer; + char *unmapPointer; // owned memory (mmap or new) quint32 unmapLength; - // for squeezed but non-file data, this is what needs to be deleted + // Pointers and offsets into unmapPointer[unmapLength] array, or user + // provided data array const uchar *messageArray; const uchar *offsetArray; const uchar *contextArray; |