From aca24f114627b66e902b4621326cf2b8bc8dbcf6 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 25 Oct 2012 14:01:11 +0200 Subject: qdoc: Adding the -log-progress option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Jędrzej Nowacki Reviewed-by: Martin Smith --- src/tools/qdoc/qdocindexfiles.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/qdoc/qdocindexfiles.cpp') 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; -- cgit v1.2.3