diff options
author | David Faure <faure@kde.org> | 2014-03-17 23:47:55 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2014-03-23 23:00:03 +0100 |
commit | 7a42d3549afbb3907cc2fe9753fbcdf9d0c87ca4 (patch) | |
tree | b0245cc1078a8f00e6ddf696560237793cbd7160 | |
parent | 8039dfaf42a1d7ffc01cd83f8b65705fce4767ee (diff) | |
download | kconfig-7a42d3549afbb3907cc2fe9753fbcdf9d0c87ca4.tar.gz kconfig-7a42d3549afbb3907cc2fe9753fbcdf9d0c87ca4.tar.bz2 |
Make readConfig() non-virtual anymore, it's not useful.
Apps can reimplement usrReadConfig() or the readConfig() in every item instead.
-rw-r--r-- | src/core/kcoreconfigskeleton.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/kcoreconfigskeleton.h b/src/core/kcoreconfigskeleton.h index 90562f45..ebfad52c 100644 --- a/src/core/kcoreconfigskeleton.h +++ b/src/core/kcoreconfigskeleton.h @@ -1035,10 +1035,8 @@ public: * This method calls usrReadConfig() after reading the settings of the * registered items from the KConfig. You can overridde usrReadConfig() * in derived classes if you have special requirements. - * If you need more fine-grained control of storing the settings from - * the registered items you can override readConfig() in a derived class. */ - virtual void readConfig(); + void readConfig(); // KDE5 TODO rename to load() /** * Read preferences from the KConfig object. |