Commit bfcc470c authored by Ronan's avatar Ronan

fix(Settings): use outgoing_calls_enabled instead of outgoing_call_enabled

parent d6ffb784
Pipeline #171 failed with stage
in 0 seconds
......@@ -282,11 +282,11 @@ void SettingsModel::setAutoAnswerVideoStatus (bool status) {
// -----------------------------------------------------------------------------
bool SettingsModel::getOutgoingCallsEnabled () const {
return !!mConfig->getInt(UiSection, "outgoing_call_enabled", 1);
return !!mConfig->getInt(UiSection, "outgoing_calls_enabled", 1);
}
void SettingsModel::setOutgoingCallsEnabled (bool status) {
mConfig->setInt(UiSection, "outgoing_call_enabled", status);
mConfig->setInt(UiSection, "outgoing_calls_enabled", status);
emit outgoingCallsEnabledChanged(status);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment