mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix settings saving.
Regression was introduced in 5d6a494934
.
Fixes #8168.
This commit is contained in:
@@ -52,7 +52,7 @@ Calls::Calls(
|
||||
|
||||
Calls::~Calls() {
|
||||
if (_needWriteSettings) {
|
||||
_controller->session().saveSettingsDelayed();
|
||||
Core::App().saveSettingsDelayed();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ void Calls::setupContent() {
|
||||
: "default";
|
||||
Core::App().settings().setCallOutputDeviceID(
|
||||
QString::fromStdString(deviceId));
|
||||
_controller->session().saveSettingsDelayed();
|
||||
Core::App().saveSettingsDelayed();
|
||||
if (const auto call = Core::App().calls().currentCall()) {
|
||||
call->setCurrentAudioDevice(false, deviceId);
|
||||
}
|
||||
@@ -210,7 +210,7 @@ void Calls::setupContent() {
|
||||
: "default";
|
||||
Core::App().settings().setCallInputDeviceID(
|
||||
QString::fromStdString(deviceId));
|
||||
_controller->session().saveSettingsDelayed();
|
||||
Core::App().saveSettingsDelayed();
|
||||
if (_micTester) {
|
||||
stopTestingMicrophone();
|
||||
}
|
||||
|
Reference in New Issue
Block a user