Skip to content

Commit

Permalink
Use QMap to bind each QWidget this the corresponding setting
Browse files Browse the repository at this point in the history
  • Loading branch information
egglessness committed Sep 2, 2024
1 parent 5e804f7 commit b448aba
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 208 deletions.
2 changes: 1 addition & 1 deletion src/core/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ QVariant Config::get(ConfigKey key)
auto cfg = configStrings[key];
auto defaultValue = configStrings[key].defaultValue;
#if defined(Q_OS_WIN)
if (this->isManaged(key)) {
if (isManaged(key)) {
return m_managedSettings->value(cfg.name, defaultValue);
}
#endif
Expand Down
Loading

0 comments on commit b448aba

Please sign in to comment.