From f0f2496a25cedc0cf9076491ccaccab0647e16f5 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Wed, 23 Oct 2024 11:13:53 +0200 Subject: Fixed FPS limit being enabled by default There were some inconsistencies between the values set up in `Client::initConfiguration` and those in `getConfigDefaults`. These duplicates have now been removed. For some of these settings the code getting the values had to be adjusted to use getBoolValue, to actually rely on the provided default instead of one provided as a parameter. --- src/configuration.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/configuration.h') diff --git a/src/configuration.h b/src/configuration.h index 81806ad9..a22eb258 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -245,8 +245,8 @@ class Configuration : public ConfigurationObject bool getBoolValue(const std::string &key) const; - VariableData* getDefault(const std::string &key, - VariableData::DataType type) const; + VariableData *getDefault(const std::string &key, + VariableData::DataType type) const; private: /** * Clean up the default values member. -- cgit v1.2.3-70-g09d2