mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
fix(app): coding style
This commit is contained in:
parent
e2ddb9310a
commit
fe60191896
4 changed files with 4 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue