mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-27 14:45:58 +02:00
set audio client muted when loaded data
This commit is contained in:
parent
88da09c2ab
commit
186588ddc4
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