From cdebc07711f4ef51a365f40f5b1d1b78bf3ef2c8 Mon Sep 17 00:00:00 2001 From: Daniele Ferla Date: Mon, 2 Sep 2024 18:18:11 +0200 Subject: [PATCH] Use the configKey parameter --- src/core/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Config.cpp b/src/core/Config.cpp index beb0c28e85..da878cd39b 100644 --- a/src/core/Config.cpp +++ b/src/core/Config.cpp @@ -248,8 +248,8 @@ QVariant Config::getDefault(Config::ConfigKey key) bool Config::isManaged(ConfigKey key) { -#if defined(Q_OS_WIN) auto cfg = configStrings[key]; +#if defined(Q_OS_WIN) return m_managedSettings && m_managedSettings->contains(cfg.name); #else return false;