diff options
author | Martin Smith <martin.smith@digia.com> | 2014-04-24 14:02:42 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-02 10:11:23 +0200 |
commit | 761265ef64fed36dc3bb4b7cdc92904e19869466 (patch) | |
tree | ceace8d1679306e43a790a77809c9c055ea1c532 /src/tools/qdoc/main.cpp | |
parent | 0ccbe33a0453902264beefaaec22a0ec74cba678 (diff) |
qdoc: attaching type of attached properties was missing
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ƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/tools/qdoc/main.cpp')
-rw-r--r-- | src/tools/qdoc/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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); |