mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 14:42:09 +02:00
Merge pull request #15165 from wayne-chen/fixMuteStateWarning-master
Case 21684: Microphone is still live after reopening Interface
This commit is contained in:
commit
0676e4de5c
1 changed files with 3 additions and 0 deletions
|
@ -228,6 +228,9 @@ void Audio::loadData() {
|
|||
_hmdMuted = _hmdMutedSetting.get();
|
||||
_pttDesktop = _pttDesktopSetting.get();
|
||||
_pttHMD = _pttHMDSetting.get();
|
||||
|
||||
auto client = DependencyManager::get<AudioClient>().data();
|
||||
QMetaObject::invokeMethod(client, "setMuted", Q_ARG(bool, isMuted()), Q_ARG(bool, false));
|
||||
}
|
||||
|
||||
bool Audio::getPTTHMD() const {
|
||||
|
|
Loading…
Reference in a new issue