From 12cf61f9fc0f3a38104d69bd61964d0099e136b3 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 1 Oct 2018 12:15:16 -0700 Subject: [PATCH] Qt: Copy volume and mute settings into core config (fixes #1194) --- src/platform/qt/CoreController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/qt/CoreController.cpp b/src/platform/qt/CoreController.cpp index b07b01be7..e16e1c5da 100644 --- a/src/platform/qt/CoreController.cpp +++ b/src/platform/qt/CoreController.cpp @@ -247,6 +247,8 @@ void CoreController::loadConfig(ConfigController* config) { 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();