aboutsummaryrefslogtreecommitdiff
path: root/src/core/ksharedconfig.h
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2015-02-12 00:17:57 +0100
committerKevin Funk <kfunk@kde.org>2015-02-12 13:54:33 +0100
commit28ddbf8138c865e19e8836b49af74f9d3bc20401 (patch)
treef4c0540132f4e79ff684915a33aa4c12666da2f4 /src/core/ksharedconfig.h
parent11585e2fccf742798ab3396726f87323b54b3ac9 (diff)
downloadkconfig-28ddbf8138c865e19e8836b49af74f9d3bc20401.tar.gz
kconfig-28ddbf8138c865e19e8836b49af74f9d3bc20401.tar.bz2
Use Q_DECL_OVERRIDE where possible
With -Winconsistent-missing-override (Clang), headers from KConfig are throwing a lot of warnings. REVIEW: 122539
Diffstat (limited to 'src/core/ksharedconfig.h')
-rw-r--r--src/core/ksharedconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ksharedconfig.h b/src/core/ksharedconfig.h
index b2317afd..d0791e46 100644
--- a/src/core/ksharedconfig.h
+++ b/src/core/ksharedconfig.h
@@ -79,8 +79,8 @@ public:
private:
Q_DISABLE_COPY(KSharedConfig)
- virtual KConfigGroup groupImpl(const QByteArray &aGroup);
- virtual const KConfigGroup groupImpl(const QByteArray &aGroup) const;
+ virtual KConfigGroup groupImpl(const QByteArray &aGroup) Q_DECL_OVERRIDE;
+ virtual const KConfigGroup groupImpl(const QByteArray &aGroup) const Q_DECL_OVERRIDE;
KSharedConfig(const QString &file, OpenFlags mode,
QStandardPaths::StandardLocation resourceType);