diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2014-10-08 17:34:33 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2015-01-20 10:37:59 +0100 |
commit | a373ffcda9b2e7b38509dcb2e772b86d67a72c80 (patch) | |
tree | 6b0cc986d29c574ec19ba4f2416e20ea14c9d4d6 /src/corelib/global/qhooks.cpp | |
parent | bdcb3f9aab139e31849aec46088dce52ba7673eb (diff) |
QIODevice: remove ineffective caching members
Most of the QIODevice functions already have a locally cached
"sequential" flag. Make the rest of them follow this strategy.
This eliminates the need to use private caching members.
Change-Id: I0edb2c9b7c5f411c5bee25c425e7b40e3c9021d3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/corelib/global/qhooks.cpp')
-rw-r--r-- | src/corelib/global/qhooks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qhooks.cpp b/src/corelib/global/qhooks.cpp index 7638414cf1..39ed87e789 100644 --- a/src/corelib/global/qhooks.cpp +++ b/src/corelib/global/qhooks.cpp @@ -37,7 +37,7 @@ QT_BEGIN_NAMESPACE // Only add to the end, and bump version if you do. quintptr Q_CORE_EXPORT qtHookData[] = { - 1, // hook data version + 2, // hook data version QHooks::LastHookIndex, // size of qtHookData QT_VERSION, |