Merge pull request 'fix(build): fix DlgSettingsGeneral::applyMenuIconSize visibility and namespace' (#49) from fix/build-menu-icon-size into main
Some checks failed
Build and Test / build (push) Has been cancelled

Reviewed-on: #49
This commit was merged in pull request #49.
This commit is contained in:
2026-02-08 23:05:10 +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);
}
}