aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kconfigloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kconfigloader.h')
-rw-r--r--src/gui/kconfigloader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kconfigloader.h b/src/gui/kconfigloader.h
index 3eb3879d..e46e4c6e 100644
--- a/src/gui/kconfigloader.h
+++ b/src/gui/kconfigloader.h
@@ -166,10 +166,14 @@ public:
QStringList groupList() const;
protected:
+#if KCONFIGCORE_BUILD_DEPRECATED_SINCE(5, 0)
/**
* Hack used to force writing when no default exists in config file.
*/
bool usrWriteConfig() override;
+#else
+ bool usrSave() override;
+#endif
private:
ConfigLoaderPrivate *const d;