diff options
| author | Allen Winter <winter@kde.org> | 2016-11-12 08:49:51 -0500 | 
|---|---|---|
| committer | Allen Winter <winter@kde.org> | 2016-11-12 08:49:51 -0500 | 
| commit | b66da09e586dda28ca43c6566904a0f62a787863 (patch) | |
| tree | dfca49cc13d4aa6f27ab8d6568c6c54c0f3f3273 | |
| parent | 91f02193e739288b9df37876cfd12c65cecc88e7 (diff) | |
| download | kconfig-b66da09e586dda28ca43c6566904a0f62a787863.tar.gz kconfig-b66da09e586dda28ca43c6566904a0f62a787863.tar.bz2 | |
kconfig_compiler - generate code with overrides
REVIEW: 129382
| -rw-r--r-- | autotests/kconfig_compiler/test_signal.h.ref | 2 | ||||
| -rw-r--r-- | src/kconfig_compiler/kconfig_compiler.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/autotests/kconfig_compiler/test_signal.h.ref b/autotests/kconfig_compiler/test_signal.h.ref index e5361813..8da42c80 100644 --- a/autotests/kconfig_compiler/test_signal.h.ref +++ b/autotests/kconfig_compiler/test_signal.h.ref @@ -139,7 +139,7 @@ class TestSignal : public KConfigSkeleton      TestSignal();      friend class TestSignalHelper; -    virtual bool usrSave(); +    bool usrSave() Q_DECL_OVERRIDE;      // Appearance      QString mEmoticonTheme; diff --git a/src/kconfig_compiler/kconfig_compiler.cpp b/src/kconfig_compiler/kconfig_compiler.cpp index 4494e454..121bea4f 100644 --- a/src/kconfig_compiler/kconfig_compiler.cpp +++ b/src/kconfig_compiler/kconfig_compiler.cpp @@ -2122,7 +2122,7 @@ int main(int argc, char **argv)      }      if (hasNonModifySignals) { -        h << "    virtual bool usrSave();" << endl; +        h << "    bool usrSave() Q_DECL_OVERRIDE;" << endl;      }      // Member variables | 
