summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2019-10-22 16:43:12 +0200
committerJüri Valdmann <juri.valdmann@qt.io>2019-10-25 13:05:22 +0200
commit698a95dc8ad2218711293d3ee699a0a956e13eb7 (patch)
treeeac0326f91e130c014d3bb16d02a21f543340299
parentbafb8220b4968b25f8055d93f0c6bf9f2d71dab3 (diff)
QFontDatabase: Delete redundant semicolons
There are too many semicolons. Delete some. Fixes two warnings from Clang 9.0.1. Change-Id: I363a6a2de9c075c03da62c58ad46828c04a95440 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--src/gui/text/qfontengine_p.h2
-rw-r--r--src/gui/text/qtextengine_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h
index a5c78d5372..03e14c737a 100644
--- a/src/gui/text/qfontengine_p.h
+++ b/src/gui/text/qfontengine_p.h
@@ -136,7 +136,7 @@ public:
signed char format = 0;
uchar *data = nullptr;
private:
- Q_DISABLE_COPY(Glyph);
+ Q_DISABLE_COPY(Glyph)
};
virtual ~QFontEngine();
diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h
index fddda7f2f8..76b9757eba 100644
--- a/src/gui/text/qtextengine_p.h
+++ b/src/gui/text/qtextengine_p.h
@@ -351,7 +351,7 @@ struct QScriptItem
Q_DECL_CONSTEXPR QFixed height() const noexcept { return ascent + descent; }
private:
friend class QVector<QScriptItem>;
- QScriptItem() {}; // for QVector, don't use
+ QScriptItem() {} // for QVector, don't use
};
Q_DECLARE_TYPEINFO(QScriptItem, Q_PRIMITIVE_TYPE);