From e26dccebe0ea286899663d87e1abb11b31179d62 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 6 Jun 2017 09:52:53 +0200 Subject: [PATCH] fix(src/app/paths/Paths): coding style --- linphone-desktop/src/app/paths/Paths.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linphone-desktop/src/app/paths/Paths.cpp b/linphone-desktop/src/app/paths/Paths.cpp index 33bba1a9e..c0ba9b486 100644 --- a/linphone-desktop/src/app/paths/Paths.cpp +++ b/linphone-desktop/src/app/paths/Paths.cpp @@ -20,6 +20,7 @@ * Author: Ronan Abhamon */ +#include #include #include #include @@ -30,7 +31,6 @@ #include "config.h" #include "Paths.hpp" -#include #define PATH_ASSISTANT_CONFIG "/assistant/" #define PATH_AVATARS "/avatars/" @@ -256,10 +256,10 @@ static void migrateConfigurationFile (const QString &oldPath, const QString &new } static void setRlsUri (const QString &configPath) { - shared_ptr config = linphone::Config::newWithFactory(Utils::appStringToCoreString(configPath), ""); + shared_ptr config = linphone::Config::newWithFactory(::Utils::appStringToCoreString(configPath), ""); if (config->getString("sip", "rls_uri", "").empty()) { config->setString("sip", "rls_uri", "sips:rls@sip.linphone.org"); - config->sync(); + config->sync(); } } @@ -272,7 +272,7 @@ void Paths::migrate () { if (!filePathExists(newPath) && filePathExists(oldPath)) { migrateConfigurationFile(oldPath, newPath); - /* Define RLS uri so that presence switches from peer-to-peer mode to list mode */ + /* Define RLS uri so that presence switches from peer-to-peer mode to list mode. */ setRlsUri(newPath); }