mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix(src/components/core/CoreManager): remove usage of undefined function (getZrtpSecretsFile) and remove tabs
This commit is contained in:
parent
58ee8ae7aa
commit
6c29ac7c9c
1 changed files with 3 additions and 8 deletions
|
|
@ -92,18 +92,13 @@ void CoreManager::setDatabasesPaths () {
|
|||
}
|
||||
|
||||
void CoreManager::setOtherPaths () {
|
||||
if (mCore->getZrtpSecretsFile().empty())
|
||||
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilepath());
|
||||
|
||||
// This one is actually a database but it MUST be set after the zrtp secrets
|
||||
// as it allows automatic migration from old version(secrets, xml) to new version (data, sqlite).
|
||||
mCore->setZrtpCacheDatabasePath(Paths::getZrtpDataFilepath());
|
||||
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilepath());
|
||||
|
||||
if (mCore->getUserCertificatesPath().empty())
|
||||
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirpath());
|
||||
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirpath());
|
||||
|
||||
if (mCore->getRootCa().empty())
|
||||
mCore->setRootCa(Paths::getRootCaFilepath());
|
||||
mCore->setRootCa(Paths::getRootCaFilepath());
|
||||
}
|
||||
|
||||
void CoreManager::setResourcesPaths () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue