diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rsettings.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rsettings.hpp b/include/rsettings.hpp index 5c1ba9d8..9f0fc4d0 100644 --- a/include/rsettings.hpp +++ b/include/rsettings.hpp @@ -23,7 +23,7 @@ public: virtual void endGroup() = 0; virtual void setValue(const QString &key, const QVariant &value) = 0; - [[nodiscard]] virtual QVariant value(const QString &key, const QVariant &defaultValue) const = 0; + [[nodiscard]] virtual QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const = 0; [[nodiscard]] virtual QString filePath() const = 0; |