From 761265ef64fed36dc3bb4b7cdc92904e19869466 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 24 Apr 2014 14:02:42 +0200 Subject: qdoc: attaching type of attached properties was missing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This bug was probably intoroduced when the QmlPropertyGroup became a first class Node type. Otherwise, there is no way to explain how it worked at all. But now qdoc includes the attaching type. Some debugging code was also cleaned up. Task-number: QTBUG-35559 Change-Id: I478efb7f4356d51015af9f33c893958d4b4ae301 Reviewed-by: Topi Reiniƶ --- src/tools/qdoc/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tools/qdoc/main.cpp') diff --git a/src/tools/qdoc/main.cpp b/src/tools/qdoc/main.cpp index 91520e3cd2..b67ba01f92 100644 --- a/src/tools/qdoc/main.cpp +++ b/src/tools/qdoc/main.cpp @@ -490,7 +490,6 @@ static void processQdocconfFile(const QString &fileName) CodeParser *codeParser = CodeParser::parserForSourceFile(s.key()); if (codeParser) { ++parsed; - //Generator::setDebugFlag(true); Generator::debug(QString("Parsing " + s.key())); codeParser->parseSourceFile(config.location(), s.key()); usedParsers.insert(codeParser); @@ -498,7 +497,6 @@ static void processQdocconfFile(const QString &fileName) ++s; } Generator::debug(QString("Parsing done.")); - //Generator::setDebugFlag(false); foreach (CodeParser *codeParser, usedParsers) codeParser->doneParsingSourceFiles(); @@ -654,7 +652,7 @@ int main(int argc, char **argv) autolinkErrors = true; } else if (opt == "-debug") { - Generator::setDebugFlag(true); + Generator::startDebugging(QString("command line")); } else if (opt == "-prepare") { Generator::setQDocPass(Generator::Prepare); -- cgit v1.2.3