Qt: Copy volume and mute settings into core config (fixes #1194)
Vicki Pfau vi@endrift.com
Mon, 01 Oct 2018 12:15:16 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
M
src/platform/qt/CoreController.cpp
→
src/platform/qt/CoreController.cpp
@@ -247,6 +247,8 @@ m_autoload = config->getOption("autoload", true).toInt();
m_autofireThreshold = config->getOption("autofireThreshold", m_autofireThreshold).toInt(); m_fastForwardVolume = config->getOption("fastForwardVolume", -1).toInt(); m_fastForwardMute = config->getOption("fastForwardMute", -1).toInt(); + mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "volume"); + mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "mute"); mCoreLoadForeignConfig(m_threadContext.core, config->config()); if (hasStarted()) { updateFastForward();