mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
fix(CoreManager): rename database paths functions
This commit is contained in:
parent
01d06c2d9e
commit
5a10a6bd72
2 changed files with 6 additions and 6 deletions
|
|
@ -210,7 +210,7 @@ void CoreManager::cleanLogs () const {
|
|||
mCore->set ## DATABASE ## DatabasePath(PATH); \
|
||||
} while (0);
|
||||
|
||||
void CoreManager::setDatabasesPaths () {
|
||||
void CoreManager::setDatabasePaths () {
|
||||
SET_DATABASE_PATH(Friends, Paths::getFriendsListFilePath());
|
||||
SET_DATABASE_PATH(CallLogs, Paths::getCallHistoryFilePath());
|
||||
SET_DATABASE_PATH(Chat, Paths::getMessageHistoryFilePath());
|
||||
|
|
@ -229,7 +229,7 @@ void CoreManager::setOtherPaths () {
|
|||
mCore->setRootCa(Paths::getRootCaFilePath());
|
||||
}
|
||||
|
||||
void CoreManager::setResourcesPaths () {
|
||||
void CoreManager::setResourcePaths () {
|
||||
shared_ptr<linphone::Factory> factory = linphone::Factory::get();
|
||||
factory->setMspluginsDir(Paths::getPackageMsPluginsDirPath());
|
||||
factory->setTopResourcesDir(Paths::getPackageDataDirPath());
|
||||
|
|
@ -243,7 +243,7 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
|
|||
// Migration of configuration and database files from GTK version of Linphone.
|
||||
Paths::migrate();
|
||||
|
||||
setResourcesPaths();
|
||||
setResourcePaths();
|
||||
|
||||
mCore = linphone::Factory::get()->createCore(
|
||||
Paths::getConfigFilePath(configPath),
|
||||
|
|
@ -270,7 +270,7 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
|
|||
|
||||
mCore->start();
|
||||
|
||||
setDatabasesPaths();
|
||||
setDatabasePaths();
|
||||
setOtherPaths();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -142,9 +142,9 @@ signals:
|
|||
private:
|
||||
CoreManager (QObject *parent, const QString &configPath);
|
||||
|
||||
void setDatabasesPaths ();
|
||||
void setDatabasePaths ();
|
||||
void setOtherPaths ();
|
||||
void setResourcesPaths ();
|
||||
void setResourcePaths ();
|
||||
|
||||
void createLinphoneCore (const QString &configPath);
|
||||
void migrate ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue