diff options
author | ck <qt-info@nokia.com> | 2010-02-01 16:41:13 (GMT) |
---|---|---|
committer | ck <qt-info@nokia.com> | 2010-02-01 16:41:53 (GMT) |
commit | ff8e8af2c16362ab0bbf7ea14bcdd83b711ebd46 (patch) | |
tree | 59e4ac0f82fa0be3ce8bf86942056e5e968beed5 /tools/assistant/lib/qhelpcontentwidget.cpp | |
parent | 296b2f47b652c0f200b19bf556649b56efa6f26f (diff) | |
download | Qt-ff8e8af2c16362ab0bbf7ea14bcdd83b711ebd46.zip Qt-ff8e8af2c16362ab0bbf7ea14bcdd83b711ebd46.tar.gz Qt-ff8e8af2c16362ab0bbf7ea14bcdd83b711ebd46.tar.bz2 |
Assistant: Use const references in foreach loops.
Reviewed-by: kh1
Diffstat (limited to 'tools/assistant/lib/qhelpcontentwidget.cpp')
-rw-r--r-- | tools/assistant/lib/qhelpcontentwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/lib/qhelpcontentwidget.cpp b/tools/assistant/lib/qhelpcontentwidget.cpp index 3986afb..a80dc39 100644 --- a/tools/assistant/lib/qhelpcontentwidget.cpp +++ b/tools/assistant/lib/qhelpcontentwidget.cpp @@ -253,7 +253,7 @@ void QHelpContentProvider::run() const QStringList fileNames = m_helpEngine->orderedFileNameList; m_mutex.unlock(); - foreach (QString dbFileName, fileNames) { + foreach (const QString &dbFileName, fileNames) { m_mutex.lock(); if (m_abort) { m_abort = false; |