summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2023-05-24 12:07:55 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2023-05-24 21:53:41 +0000
commit4f27c8a046ca549a9d83f6f4a193df76711a4daa (patch)
tree298ed5c7752df6e91c94a04844fee33078d2d9b9
parent90fcd2a8ceeba10fe2cf7ef0c74f92d8b38832f6 (diff)
Use \startuml / \enduml instead of @startuml / @enduml
It's ok for the plantuml tool, and doesn't look so out-of-place when brought inline in doc comments, because even for doxygen we tend to use qdoc-style command syntax. Change-Id: I44ada32e940eebe8a2d1ffe6a6632986536d6af0 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/trace/qmlmessagetrace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trace/qmlmessagetrace.cpp b/src/trace/qmlmessagetrace.cpp
index db1c0b2..3e9eeb0 100644
--- a/src/trace/qmlmessagetrace.cpp
+++ b/src/trace/qmlmessagetrace.cpp
@@ -613,7 +613,7 @@ void QmlMessageTrace::writePuml(const QString &plainFilePath)
MT_DEBUG("-> %s\n", qPrintable(filePath));
QFile f(filePath);
if (f.open(QFile::WriteOnly)) {
- f.write("@startuml\n");
+ f.write("\\startuml\n");
QSet<void *> objectsWritten;
QSet<QString> ufosWritten;
for (Message &m : m_messages) {
@@ -641,7 +641,7 @@ void QmlMessageTrace::writePuml(const QString &plainFilePath)
}
f.write(m.toPuml().toUtf8());
}
- f.write("@enduml\n");
+ f.write("\\enduml\n");
f.close();
} else {
printf("failed to write %s", qPrintable(filePath));