diff options
Diffstat (limited to 'src/qdoc/doc.cpp')
-rw-r--r-- | src/qdoc/doc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/doc.cpp b/src/qdoc/doc.cpp index 0d5d059d6..89748b0ad 100644 --- a/src/qdoc/doc.cpp +++ b/src/qdoc/doc.cpp @@ -1860,7 +1860,7 @@ void DocParser::append(const QString &string) Atom::AtomType lastType = priv->text.lastAtom()->type(); if ((lastType == Atom::Code) && priv->text.lastAtom()->string().endsWith(QLatin1String("\n\n"))) priv->text.lastAtom()->chopString(); - priv->text << Atom(string); // The Atom type is Link. + priv->text << Atom(Atom::Link, string); } void DocParser::append(Atom::AtomType type, const QString &p1, const QString &p2) @@ -1877,7 +1877,7 @@ void DocParser::append(const QString &p1, const QString &p2) if ((lastType == Atom::Code) && priv->text.lastAtom()->string().endsWith(QLatin1String("\n\n"))) priv->text.lastAtom()->chopString(); if (p2.isEmpty()) - priv->text << Atom(p1); // The Atom type is Link. + priv->text << Atom(Atom::Link, p1); else priv->text << LinkAtom(p1, p2); } |