summaryrefslogtreecommitdiff
path: root/tools/xmlpatterns
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-08 22:58:46 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2019-10-03 13:14:25 +0300
commit8cb90345a6d3a5e686d471792e159c014566404d (patch)
tree50c62df01e5cbb74feb2b5d655d86dd01a6ab1e4 /tools/xmlpatterns
parent4f651f10c19fc140d8560aba8ca044fff650904f (diff)
downloadqtxmlpatterns-8cb90345a6d3a5e686d471792e159c014566404d.tar.gz
Add missing override and remove redundant virtual
Change-Id: I1a2974e012a45eb5145a092c9014d8eaab9f3ce7 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'tools/xmlpatterns')
-rw-r--r--tools/xmlpatterns/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/xmlpatterns/main.cpp b/tools/xmlpatterns/main.cpp
index 1c6f3cc..1e74227 100644
--- a/tools/xmlpatterns/main.cpp
+++ b/tools/xmlpatterns/main.cpp
@@ -109,8 +109,8 @@ public:
#endif
protected:
- virtual QVariant convertToValue(const QApplicationArgument &arg,
- const QString &input) const
+ QVariant convertToValue(const QApplicationArgument &arg,
+ const QString &input) const override
{
if(arg.name() == QLatin1String("param"))
{
@@ -161,7 +161,7 @@ protected:
return QApplicationArgumentParser::convertToValue(arg, input);
}
- virtual QString typeToName(const QApplicationArgument &argument) const
+ QString typeToName(const QApplicationArgument &argument) const override
{
if(argument.name() == QLatin1String("param"))
return QLatin1String("name=value");
@@ -171,7 +171,7 @@ protected:
return QApplicationArgumentParser::typeToName(argument);
}
- virtual QVariant defaultValue(const QApplicationArgument &argument) const
+ QVariant defaultValue(const QApplicationArgument &argument) const override
{
if(argument.name() == QLatin1String("output"))
{