From be95bc91fb8b0e115a31d9b3cbd63c9d234da6a9 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 27 Jul 2015 12:39:56 +0200 Subject: Don't generate deprecated code ::usrWriteConfig is deprecated, use ::usrSave as recommended by the documentation. REVIEW: 124467 --- autotests/kconfig_compiler/test_signal.cpp.ref | 4 ++-- autotests/kconfig_compiler/test_signal.h.ref | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'autotests/kconfig_compiler') diff --git a/autotests/kconfig_compiler/test_signal.cpp.ref b/autotests/kconfig_compiler/test_signal.cpp.ref index 6faf8bd1..e959571a 100644 --- a/autotests/kconfig_compiler/test_signal.cpp.ref +++ b/autotests/kconfig_compiler/test_signal.cpp.ref @@ -56,9 +56,9 @@ TestSignal::~TestSignal() s_globalTestSignal()->q = 0; } -bool TestSignal::usrWriteConfig() +bool TestSignal::usrSave() { - const bool res = KConfigSkeleton::usrWriteConfig(); + const bool res = KConfigSkeleton::usrSave(); if (!res) return false; if ( mSettingsChanged & signalEmoticonSettingsChanged ) diff --git a/autotests/kconfig_compiler/test_signal.h.ref b/autotests/kconfig_compiler/test_signal.h.ref index e9f9c94c..648b26db 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 usrWriteConfig(); + virtual bool usrSave(); // Appearance QString mEmoticonTheme; -- cgit v1.2.1