Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -6854,3 +6854,8 @@ void Application::updateThreadPoolCount() const { · 6853 unmodified lines | |||
| 6854 | qCDebug(interfaceapp) << "Setting thread pool size to " << threadPoolSize; | 6854 | qCDebug(interfaceapp) << "Setting thread pool size to " << threadPoolSize; |
| 6855 | QThreadPool::globalInstance()->setMaxThreadCount(threadPoolSize); | 6855 | QThreadPool::globalInstance()->setMaxThreadCount(threadPoolSize); |
| 6856 | } | 6856 | } |
| 6857 | |||
| 6858 | void Application::toggleMuteAudio() { | ||
| 6859 | auto menu = Menu::getInstance(); | ||
| 6860 | menu->setIsOptionChecked(MenuOption::MuteAudio, !menu->isOptionChecked(MenuOption::MuteAudio)); | ||
| 6861 | } | ||