From be548269f6220c70f8022b5b4d3f8ad4da3bbe00 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 21 Aug 2017 15:39:05 +0300 Subject: [PATCH] Cppcheck warnings. --HG-- branch : develop --- src/libs/ifc/xml/vabstractpattern.cpp | 1 - src/libs/ifc/xml/vabstractpattern.h | 1 - src/libs/vwidgets/vlineedit.h | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libs/ifc/xml/vabstractpattern.cpp b/src/libs/ifc/xml/vabstractpattern.cpp index cb35f9a39..e36b0e88d 100644 --- a/src/libs/ifc/xml/vabstractpattern.cpp +++ b/src/libs/ifc/xml/vabstractpattern.cpp @@ -71,7 +71,6 @@ const QString VAbstractPattern::TagGroups = QStringLiteral("groups"); const QString VAbstractPattern::TagGroup = QStringLiteral("group"); const QString VAbstractPattern::TagGroupItem = QStringLiteral("item"); const QString VAbstractPattern::TagPoint = QStringLiteral("point"); -const QString VAbstractPattern::TagLine = QStringLiteral("line"); const QString VAbstractPattern::TagSpline = QStringLiteral("spline"); const QString VAbstractPattern::TagArc = QStringLiteral("arc"); const QString VAbstractPattern::TagElArc = QStringLiteral("elArc"); diff --git a/src/libs/ifc/xml/vabstractpattern.h b/src/libs/ifc/xml/vabstractpattern.h index 7afa88722..1ce307b00 100644 --- a/src/libs/ifc/xml/vabstractpattern.h +++ b/src/libs/ifc/xml/vabstractpattern.h @@ -201,7 +201,6 @@ public: static const QString TagGroup; static const QString TagGroupItem; static const QString TagPoint; - static const QString TagLine; static const QString TagSpline; static const QString TagArc; static const QString TagElArc; diff --git a/src/libs/vwidgets/vlineedit.h b/src/libs/vwidgets/vlineedit.h index 9b9561608..4482f0674 100644 --- a/src/libs/vwidgets/vlineedit.h +++ b/src/libs/vwidgets/vlineedit.h @@ -35,7 +35,7 @@ class VLineEdit : public QLineEdit { Q_OBJECT public: - VLineEdit(QWidget * parent = nullptr); + explicit VLineEdit(QWidget * parent = nullptr); VLineEdit(const QString &contents, QWidget *parent = nullptr); protected: