summaryrefslogtreecommitdiffstats
path: root/src
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 12:53:31 (GMT)
commitaf05155d2d6518bc0481bc1aae0e20e58c59ba9f (patch)
treef55ef551d2230019a7f322aff19f0ea155179f2e /src
parent33e613b22c06ca5485c7a549cdd1c85b4a59236a (diff)
downloadQt-af05155d2d6518bc0481bc1aae0e20e58c59ba9f.zip
Qt-af05155d2d6518bc0481bc1aae0e20e58c59ba9f.tar.gz
Qt-af05155d2d6518bc0481bc1aae0e20e58c59ba9f.tar.bz2
Minor documentation and code fixes.
Addresses S60 review comments. Reviewed-by: TrustMe
Diffstat (limited to 'src')
-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];
}