Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
ff985c09
Commit
ff985c09
authored
Jul 19, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(AccountSettingsModel): `addOrUpdateProxyConfig` load nom xml config file before create config
parent
e8f5964f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
AccountSettingsModel.cpp
src/components/settings/AccountSettingsModel.cpp
+8
-1
No files found.
src/components/settings/AccountSettingsModel.cpp
View file @
ff985c09
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
* Author: Ronan Abhamon
* Author: Ronan Abhamon
*/
*/
#include "../../app/paths/Paths.hpp"
#include "../../utils/Utils.hpp"
#include "../../utils/Utils.hpp"
#include "../core/CoreManager.hpp"
#include "../core/CoreManager.hpp"
...
@@ -168,7 +169,13 @@ bool AccountSettingsModel::addOrUpdateProxyConfig (
...
@@ -168,7 +169,13 @@ bool AccountSettingsModel::addOrUpdateProxyConfig (
}
}
shared_ptr
<
linphone
::
ProxyConfig
>
AccountSettingsModel
::
createProxyConfig
()
{
shared_ptr
<
linphone
::
ProxyConfig
>
AccountSettingsModel
::
createProxyConfig
()
{
return
CoreManager
::
getInstance
()
->
getCore
()
->
createProxyConfig
();
shared_ptr
<
linphone
::
Core
>
core
=
CoreManager
::
getInstance
()
->
getCore
();
core
->
getConfig
()
->
loadFromXmlFile
(
Paths
::
getAssistantConfigDirPath
()
+
"create-linphone-sip-account.rc"
);
return
core
->
createProxyConfig
();
}
}
void
AccountSettingsModel
::
addAuthInfo
(
void
AccountSettingsModel
::
addAuthInfo
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment