diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-03-02 20:29:00 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-03-02 20:29:00 -0300 |
commit | bb6612e2cb07f4ef64a5a3fd032cfc87ed8aaf30 (patch) | |
tree | dfc62bdbd65eda977df6bd3158eae5e185b692ff | |
parent | 9116cd9f66041733805d60bdf8e9ab61c2d5b016 (diff) |
-rw-r--r-- | generators/qtdoc/qtdocgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/qtdoc/qtdocgenerator.cpp b/generators/qtdoc/qtdocgenerator.cpp index 7411ce107..cd78b858e 100644 --- a/generators/qtdoc/qtdocgenerator.cpp +++ b/generators/qtdoc/qtdocgenerator.cpp @@ -263,7 +263,7 @@ QString QtXmlToSphinx::readFromLocation(const QString& location, const QString& } } - if (code.isEmpty()) + if (!identifierIsEmpty && !getCode) ReportHandler::warning("Code snippet file found ("+location+"), but snippet "+ identifier +" not found."); if (ok) |