summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-08-24 11:56:47 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-08-24 11:56:47 (GMT)
commit1783f104d4862194b666e6feb612af56628fd2b3 (patch)
tree10fa750c9e7482cafc1f067aa334c633efbdd1bd
parent82dba1d346a6f4a5d2602d930e0aed75c13bcafb (diff)
downloadQt-1783f104d4862194b666e6feb612af56628fd2b3.zip
Qt-1783f104d4862194b666e6feb612af56628fd2b3.tar.gz
Qt-1783f104d4862194b666e6feb612af56628fd2b3.tar.bz2
Minor documentation and code fixes.
Addresses S60 review comments. Reviewed-by: TrustMe
-rw-r--r--src/corelib/tools/qmap.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/tools/qmap.cpp b/src/corelib/tools/qmap.cpp
index e913232..9f8e05c 100644
--- a/src/corelib/tools/qmap.cpp
+++ b/src/corelib/tools/qmap.cpp
@@ -93,6 +93,9 @@ void QMapData::continueFreeData(int offset)
could be several pointers to this node on different levels.
\a offset is an amount of bytes that needs to reserved just before the
QMapData::Node structure.
+
+ \internal
+ \since 4.6
*/
QMapData::Node *QMapData::node_create(Node *update[], int offset)
{
@@ -128,7 +131,6 @@ QMapData::Node *QMapData::node_create(Node *update[], int offset)
update[i]->forward[i] = abstractNode;
update[i] = abstractNode;
}
- // update[level+1]=reinterpret_cast<Node *>(this);
++size;
return abstractNode;
}
@@ -191,7 +193,7 @@ void QMapData::dump()
update[i] = node->forward[i];
}
for (int j = level + 1; j <= topLevel; ++j)
- output[j] += QString("---------------");
+ output[j] += QLatin1String("---------------");
node = node->forward[0];
}