summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-08-24 09:23:21 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-08-24 09:25:17 (GMT)
commit8260b28cbbc1103a20e9f920fad099922021e9c7 (patch)
tree9a5554d486c7fad5dea6b95d9c1d6364833b83b9 /src/corelib/tools
parent6bc7af414219e92ccec45ec45d47e6fe432ad048 (diff)
downloadQt-8260b28cbbc1103a20e9f920fad099922021e9c7.zip
Qt-8260b28cbbc1103a20e9f920fad099922021e9c7.tar.gz
Qt-8260b28cbbc1103a20e9f920fad099922021e9c7.tar.bz2
Fix the last fix to QList.
Reviewed-by: TrustMe
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlist.cpp b/src/corelib/tools/qlist.cpp
index 868bed1..1335c30 100644
--- a/src/corelib/tools/qlist.cpp
+++ b/src/corelib/tools/qlist.cpp
@@ -107,7 +107,7 @@ QListData::Data *QListData::detach2()
Data* t = static_cast<Data *>(qMalloc(DataHeaderSize + x->alloc * sizeof(void *)));
Q_CHECK_PTR(t);
- ::memcpy(x, d, DataHeaderSize + d->alloc * sizeof(void *));
+ ::memcpy(t, d, DataHeaderSize + d->alloc * sizeof(void *));
t->ref = 1;
t->sharable = true;