summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/qdoc3/htmlgenerator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index bc84288..2a19681 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -759,6 +759,8 @@ int HtmlGenerator::generateAtom(const Atom *atom,
out() << "<img src=\"" << protectEnc(fileName) << "\"";
if (!text.isEmpty())
out() << " alt=\"" << protectEnc(text) << "\"";
+ else
+ out() << " alt=\"\"";
out() << " />";
helpProjectWriter->addExtraFile(fileName);
if ((relative->type() == Node::Fake) &&