fix(build): fix DlgSettingsGeneral::applyMenuIconSize visibility and namespace
Some checks failed
Build and Test / build (pull_request) Has been cancelled

- Move applyMenuIconSize to public access so StartupProcess can call it
- Add Dialog:: namespace qualifier in StartupProcess.cpp
This commit is contained in:
forbes
2026-02-08 17:01:41 -06:00
parent 3b07a0f99b
commit 4bf74cf339
2 changed files with 3 additions and 1 deletions

View File

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

View File

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