fix(build): fix DlgSettingsGeneral::applyMenuIconSize visibility and namespace #49

Merged
forbes merged 1 commits from fix/build-menu-icon-size into main 2026-02-08 23:05:11 +00:00
2 changed files with 3 additions and 1 deletions

View File

@@ -93,6 +93,8 @@ private:
int getCurrentMenuIconSize() const;
void addMenuIconSizes(int current);
void translateMenuIconSizes();
public:
static void applyMenuIconSize(int pixel);
private:

View File

@@ -288,7 +288,7 @@ void StartupPostProcess::setMenuIconSize()
ParameterGrp::handle hGrp = WindowParameter::getDefaultParameter()->GetGroup("General");
int size = int(hGrp->GetInt("MenuIconSize", 0));
if (size >= 16) {
DlgSettingsGeneral::applyMenuIconSize(size);
Dialog::DlgSettingsGeneral::applyMenuIconSize(size);
}
}