summaryrefslogtreecommitdiffstats
path: root/src/linguist/linguist/phrase.cpp
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 12:59:48 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-28 19:13:00 +0200
commit18b57308c6188b974771f91f703be348297ac475 (patch)
tree73e6dffea6f76b382a3638f7ad0737939c22ff15 /src/linguist/linguist/phrase.cpp
parent6a0aa06d404e9f851c4ba4092a223cee5c192c37 (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I157af8d748f975b91c790c16eef5fce55af4b0af Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/linguist/linguist/phrase.cpp')
-rw-r--r--src/linguist/linguist/phrase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/linguist/linguist/phrase.cpp b/src/linguist/linguist/phrase.cpp
index 524dd3c1f..2571c56ea 100644
--- a/src/linguist/linguist/phrase.cpp
+++ b/src/linguist/linguist/phrase.cpp
@@ -135,8 +135,8 @@ private:
bool QphHandler::startElement(QStringView namespaceURI, QStringView localName,
QStringView qName, const QXmlStreamAttributes &atts)
{
- Q_UNUSED(namespaceURI)
- Q_UNUSED(localName)
+ Q_UNUSED(namespaceURI);
+ Q_UNUSED(localName);
if (qName == QLatin1String("QPH")) {
m_language = atts.value(QLatin1String("language")).toString();
@@ -153,8 +153,8 @@ bool QphHandler::startElement(QStringView namespaceURI, QStringView localName,
bool QphHandler::endElement(QStringView namespaceURI, QStringView localName,
QStringView qName)
{
- Q_UNUSED(namespaceURI)
- Q_UNUSED(localName)
+ Q_UNUSED(namespaceURI);
+ Q_UNUSED(localName);
if (qName == QLatin1String("source"))
source = accum;