summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/qdocindexfiles.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@digia.com>2012-10-25 14:01:11 +0200
committerMartin Smith <martin.smith@digia.com>2012-10-25 14:19:53 +0200
commitaca24f114627b66e902b4621326cf2b8bc8dbcf6 (patch)
treeac2ad363e58085bbe7f512cc2b5bfaf8833a1676 /src/tools/qdoc/qdocindexfiles.cpp
parent34d2a7e6b68cfff59c29018b4aea1a7af38512da (diff)
qdoc: Adding the -log-progress option
qdoc now sends progress log messages to stderr only if -log-progress appears on the command line. The progress messages are not printed to stderr if -log-progress is not used. i.e., -log-progress is off by default. Task number: QTBUG-27707 Change-Id: Id605d943506ab38639730bf16473b156d061dc53 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/tools/qdoc/qdocindexfiles.cpp')
-rw-r--r--src/tools/qdoc/qdocindexfiles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdoc/qdocindexfiles.cpp b/src/tools/qdoc/qdocindexfiles.cpp
index 6d697c61b0..33b489d6d0 100644
--- a/src/tools/qdoc/qdocindexfiles.cpp
+++ b/src/tools/qdoc/qdocindexfiles.cpp
@@ -111,7 +111,7 @@ void QDocIndexFiles::destroyQDocIndexFiles()
void QDocIndexFiles::readIndexes(const QStringList& indexFiles)
{
foreach (const QString& indexFile, indexFiles) {
- QString msg = " Loading index file: " + indexFile;
+ QString msg = "Loading index file: " + indexFile;
Location::logToStdErr(msg);
readIndexFile(indexFile);
}
@@ -1052,7 +1052,7 @@ void QDocIndexFiles::generateIndex(const QString& fileName,
if (!file.open(QFile::WriteOnly | QFile::Text))
return;
- QString msg = " Writing index file: " + fileName;
+ QString msg = "Writing index file: " + fileName;
Location::logToStdErr(msg);
gen_ = g;