diff options
author | Martin Smith <martin.smith@nokia.com> | 2011-08-29 13:43:56 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2011-08-29 13:43:56 (GMT) |
commit | ad203bc0bd17be1ade143e38cdc7e8eca26ebc07 (patch) | |
tree | a4527dc6546cd1d4b7b55af24411f7089341c789 /tools/qdoc3 | |
parent | 516ffeecded9ed20ef309143b5f15bcce4abbe60 (diff) | |
download | Qt-ad203bc0bd17be1ade143e38cdc7e8eca26ebc07.zip Qt-ad203bc0bd17be1ade143e38cdc7e8eca26ebc07.tar.gz Qt-ad203bc0bd17be1ade143e38cdc7e8eca26ebc07.tar.bz2 |
qdoc3: Updates to qdoc to print error message in ALL CAPS
when the path argument for an \example command
refers to a directory that does not exist.
Task-number: QTBUG-21165
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/cppcodeparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/cppcodeparser.cpp b/tools/qdoc3/cppcodeparser.cpp index 5efbcfd..1a4c344 100644 --- a/tools/qdoc3/cppcodeparser.cpp +++ b/tools/qdoc3/cppcodeparser.cpp @@ -2349,8 +2349,8 @@ void CppCodeParser::createExampleFileNodes(FakeNode *fake) proFileName, userFriendlyFilePath); if (fullPath.isEmpty()) { - fake->doc().location().warning( - tr("Cannot find file '%1' or '%2'").arg(tmp).arg(proFileName)); + fake->doc().location().warning(tr("Cannot find file '%1' or '%2'").arg(tmp).arg(proFileName)); + fake->doc().location().warning(tr("EXAMPLE PATH DOES NOT EXIST: %1").arg(examplePath)); return; } } |