Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend
diff options
context:
space:
mode:
authorBottinator22 <59987380+Bottinator22@users.noreply.github.com>2024-12-18 22:23:54 -0800
committerGitHub <noreply@github.com>2024-12-18 22:23:54 -0800
commit1303f54e30f1d33b5f21b527cff000daf990ba04 (patch)
tree6fb4d1a37cd5680a2b6ec6821ebb19d24d1bcb68 /source/frontend
parent096ab486f651d803b8a7f50e448b50e17e907539 (diff)
Update StarOptionsMenu.cpp
Diffstat (limited to 'source/frontend')
-rw-r--r--source/frontend/StarOptionsMenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/frontend/StarOptionsMenu.cpp b/source/frontend/StarOptionsMenu.cpp
index 0ea1fa1..8253f1f 100644
--- a/source/frontend/StarOptionsMenu.cpp
+++ b/source/frontend/StarOptionsMenu.cpp
@@ -13,7 +13,7 @@
namespace Star {
-OptionsMenu::OptionsMenu(PaneManager* manager)
+OptionsMenu::OptionsMenu(PaneManager* manager, UniverseClientPtr client)
: m_sfxRange(0, 100), m_musicRange(0, 100), m_paneManager(manager) {
auto root = Root::singletonPtr();
auto assets = root->assets();
@@ -90,7 +90,7 @@ OptionsMenu::OptionsMenu(PaneManager* manager)
m_voiceSettingsMenu = make_shared<VoiceSettingsMenu>(assets->json(config.getString("voiceSettingsPanePath", "/interface/opensb/voicechat/voicechat.config")));
m_modBindingsMenu = make_shared<BindingsMenu>(assets->json(config.getString("bindingsPanePath", "/interface/opensb/bindings/bindings.config")));
m_keybindingsMenu = make_shared<KeybindingsMenu>();
- m_graphicsMenu = make_shared<GraphicsMenu>();
+ m_graphicsMenu = make_shared<GraphicsMenu>(manager,client);
initConfig();
}