From ad203bc0bd17be1ade143e38cdc7e8eca26ebc07 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 29 Aug 2011 15:43:56 +0200 Subject: 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 --- tools/qdoc3/cppcodeparser.cpp | 4 ++-- 1 file 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; } } -- cgit v0.12