Commit fe601918 authored by Wescoeur's avatar Wescoeur

fix(app): coding style

parent e2ddb931
......@@ -191,7 +191,7 @@ string Paths::getFriendsListFilePath () {
return getWritableFilePath(getAppFriendsFilePath());
}
std::string Paths::getDownloadDirPath () {
string Paths::getDownloadDirPath () {
return getWritableDirPath(QStandardPaths::writableLocation(QStandardPaths::DownloadLocation));
}
......
......@@ -137,7 +137,7 @@ void CallsListModel::terminateAllCalls () const {
// -----------------------------------------------------------------------------
void CallsListModel::handleCallStateChanged (const std::shared_ptr<linphone::Call> &call, linphone::CallState state) {
void CallsListModel::handleCallStateChanged (const shared_ptr<linphone::Call> &call, linphone::CallState state) {
switch (state) {
case linphone::CallStateIncomingReceived:
case linphone::CallStateOutgoingInit:
......
......@@ -57,7 +57,7 @@ inline QString getDownloadPath (const shared_ptr<linphone::ChatMessage> &message
return ::Utils::coreStringToAppString(message->getAppdata()).section(':', 1);
}
inline bool fileWasDownloaded (const std::shared_ptr<linphone::ChatMessage> &message) {
inline bool fileWasDownloaded (const shared_ptr<linphone::ChatMessage> &message) {
const QString &path = getDownloadPath(message);
return !path.isEmpty() && QFileInfo(path).isFile();
}
......
......@@ -127,7 +127,7 @@ void CoreManager::setResourcesPaths () {
void CoreManager::createLinphoneCore (const QString &configPath) {
qInfo() << QStringLiteral("Launch async linphone core creation.");
// Migration of configuration and database files from GTK version of Linphone
// Migration of configuration and database files from GTK version of Linphone.
Paths::migrate();
setResourcesPaths();
......
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