summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextmarkdownimporter.cpp
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 14:18:09 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-07-07 11:51:48 +0200
commit6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch)
tree727427eb4c603e74954d4da462484ea7bf5c65bb /src/gui/text/qtextmarkdownimporter.cpp
parentd9cc1499954829faf9486fb72056e29f1bad58e3 (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I3f0b6717956ca8fa486bed9817b89dfa19f5e0e1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/text/qtextmarkdownimporter.cpp')
-rw-r--r--src/gui/text/qtextmarkdownimporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/text/qtextmarkdownimporter.cpp b/src/gui/text/qtextmarkdownimporter.cpp
index 72c445878c..97bdef50d7 100644
--- a/src/gui/text/qtextmarkdownimporter.cpp
+++ b/src/gui/text/qtextmarkdownimporter.cpp
@@ -111,7 +111,7 @@ static int CbText(MD_TEXTTYPE type, const MD_CHAR *text, MD_SIZE size, void *use
static void CbDebugLog(const char *msg, void *userdata)
{
- Q_UNUSED(userdata)
+ Q_UNUSED(userdata);
qCDebug(lcMD) << msg;
}
@@ -314,7 +314,7 @@ int QTextMarkdownImporter::cbEnterBlock(int blockType, void *det)
int QTextMarkdownImporter::cbLeaveBlock(int blockType, void *detail)
{
- Q_UNUSED(detail)
+ Q_UNUSED(detail);
switch (blockType) {
case MD_BLOCK_P:
m_listItem = false;
@@ -432,7 +432,7 @@ int QTextMarkdownImporter::cbEnterSpan(int spanType, void *det)
int QTextMarkdownImporter::cbLeaveSpan(int spanType, void *detail)
{
- Q_UNUSED(detail)
+ Q_UNUSED(detail);
QTextCharFormat charFmt;
if (!m_spanFormatStack.isEmpty()) {
m_spanFormatStack.pop();