mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-15 18:43:34 +02:00
fixing the cast bug on osx
This commit is contained in:
parent
da26d0dee1
commit
053aca2e36
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) :
|
|||
connect(userInputMapper.data(), &UserInputMapper::actionEvent, _controllerScriptingInterface, &ControllerScriptingInterface::actionEvent);
|
||||
connect(userInputMapper.data(), &UserInputMapper::actionEvent, [this](int action, float state) {
|
||||
if (state) {
|
||||
switch (action) {
|
||||
switch (controller::Action(action)) {
|
||||
case controller::Action::TOGGLE_MUTE:
|
||||
DependencyManager::get<AudioClient>()->toggleMute();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue