summaryrefslogtreecommitdiffstats
path: root/src/qdoc/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/node.cpp')
-rw-r--r--src/qdoc/node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp
index 8c23009b0..eabf11ef9 100644
--- a/src/qdoc/node.cpp
+++ b/src/qdoc/node.cpp
@@ -673,8 +673,8 @@ bool Node::match(const QList<int> &types) const
void Node::setDoc(const Doc &doc, bool replace)
{
if (!m_doc.isEmpty() && !replace && !doc.isMarkedReimp()) {
- doc.location().warning(QStringLiteral("Overrides a previous doc"));
- m_doc.location().warning(QStringLiteral("(The previous doc is here)"));
+ doc.location().warning(QStringLiteral("Overrides a previous doc"),
+ QStringLiteral("from here: %1").arg(m_doc.location().toString()));
}
m_doc = doc;
}