summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/qhelpsearchindexreader.cpp
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-06 11:58:19 (GMT)
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-09 11:11:02 (GMT)
commita2a3adf7de2ffc9784fea177a43f3124862a992a (patch)
treef9e8f7509c93da5f214097cc286569f9e8617dcc /tools/assistant/lib/qhelpsearchindexreader.cpp
parent4ad31892d735e6f1a7afffbf0bf8028663855adb (diff)
downloadQt-a2a3adf7de2ffc9784fea177a43f3124862a992a.zip
Qt-a2a3adf7de2ffc9784fea177a43f3124862a992a.tar.gz
Qt-a2a3adf7de2ffc9784fea177a43f3124862a992a.tar.bz2
API review: *Count() are not plural
Obsolete the plural version, and replace its usage in Qt. Reviewed-by: Andreas Aardal Hanssen
Diffstat (limited to 'tools/assistant/lib/qhelpsearchindexreader.cpp')
-rw-r--r--tools/assistant/lib/qhelpsearchindexreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/lib/qhelpsearchindexreader.cpp b/tools/assistant/lib/qhelpsearchindexreader.cpp
index 20d181b..b134605 100644
--- a/tools/assistant/lib/qhelpsearchindexreader.cpp
+++ b/tools/assistant/lib/qhelpsearchindexreader.cpp
@@ -83,7 +83,7 @@ void QHelpSearchIndexReader::search(const QString &collectionFile, const QString
start(QThread::NormalPriority);
}
-int QHelpSearchIndexReader::hitsCount() const
+int QHelpSearchIndexReader::hitCount() const
{
QMutexLocker lock(&mutex);
return hitList.count();