From bbdf744514b1657c11397fe9e277e61b031175bf Mon Sep 17 00:00:00 2001 From: IgorekLoschinin <igor.loschinin2014@yandex.ru> Date: Sat, 6 Nov 2021 18:21:28 +0300 Subject: [PATCH] ref #111 Fixing add zero at the end of the virtual method --- isettings.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/isettings.h b/isettings.h index f352a9b..731f1df 100644 --- a/isettings.h +++ b/isettings.h @@ -123,7 +123,7 @@ protected: /** * @brief syncImplementation This method should save all configuration data to the hard drive; */ - virtual void syncImplementation(); + virtual void syncImplementation() = 0; /** * @brief getValueImplementation This method will return the value of the settings. @@ -131,14 +131,14 @@ protected: * @param def This is default value if a value is not finded. * @return value of a @a key */ - virtual QVariant getValueImplementation(const QString &key, const QVariant& def); + virtual QVariant getValueImplementation(const QString &key, const QVariant& def) = 0; /** * @brief setValueImplementation This slot will set a new value for the @a key parameter. * @param key This is name of the changed setting. * @param value This is a new value of the setting */ - virtual void setValueImplementation(const QString key, const QVariant& value); + virtual void setValueImplementation(const QString key, const QVariant& value) = 0; private: SettingsSaveMode _mode = SettingsSaveMode::Auto;