Commit 16bc7735 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Avoid double brief description when there are no detailed docs

parent 72edccb2
......@@ -647,12 +647,14 @@ void Definition::_setBriefDescription(const char *b,const char *briefFile,int br
}
}
if (!_docsAlreadyAdded(brief,m_impl->briefSignatures))
{
if (m_impl->brief && !m_impl->brief->doc.isEmpty())
{
//printf("adding to details\n");
_setDocumentation(brief,briefFile,briefLine,FALSE,TRUE);
}
else if (!_docsAlreadyAdded(brief,m_impl->briefSignatures))
else
{
//fprintf(stderr,"Definition::setBriefDescription(%s,%s,%d)\n",b,briefFile,briefLine);
if (m_impl->brief==0)
......@@ -671,6 +673,7 @@ void Definition::_setBriefDescription(const char *b,const char *briefFile,int br
m_impl->brief->line = 1;
}
}
}
else
{
//printf("do nothing!\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment