diff options
author | Martin Smith <msmith@trolltech.com> | 2010-03-15 10:10:22 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-03-15 10:10:22 (GMT) |
commit | 7d3ca146a5cd124357001257528c64c904677861 (patch) | |
tree | 5ae4bc2a946e3562f0195d6927cc31d8d7e3e724 /tools/qdoc3/main.cpp | |
parent | ccf34d2a9f2d3aa2341de7babab5188b359861a1 (diff) | |
download | Qt-7d3ca146a5cd124357001257528c64c904677861.zip Qt-7d3ca146a5cd124357001257528c64c904677861.tar.gz Qt-7d3ca146a5cd124357001257528c64c904677861.tar.bz2 |
qdoc: ifdefed out all the debug code.
I think the crash that occurs when running qdoc over
multiple qdocconf files is fixed.
Diffstat (limited to 'tools/qdoc3/main.cpp')
-rw-r--r-- | tools/qdoc3/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/qdoc3/main.cpp b/tools/qdoc3/main.cpp index ea843ba..fe4ad86 100644 --- a/tools/qdoc3/main.cpp +++ b/tools/qdoc3/main.cpp @@ -70,6 +70,7 @@ #include "webxmlgenerator.h" #include "tokenizer.h" #include "tree.h" +#include <qdebug.h> #include "qtranslator.h" #ifndef QT_BOOTSTRAPPED @@ -362,7 +363,13 @@ static void processQdocconfFile(const QString &fileName) #ifndef QT_NO_TRANSLATION qDeleteAll(translators); #endif +#ifdef DEBUG_SHUTDOWN_CRASH + qDebug() << "main(): Delete tree"; +#endif delete tree; +#ifdef DEBUG_SHUTDOWN_CRASH + qDebug() << "main(): Tree deleted"; +#endif } QT_END_NAMESPACE |