1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-03 12:47:31 +01:00

Fix issues reported by clang-format

This commit is contained in:
Cesar Enrique Garcia Dabo 2019-12-10 18:45:06 +01:00
parent 397145d21f
commit a7ad66d028

View File

@ -345,9 +345,9 @@ QString GetConfigPath(ConfigPath config) {
return mac::GetApplicationSupportPath() + "/" + return mac::GetApplicationSupportPath() + "/" +
QCoreApplication::organizationName(); QCoreApplication::organizationName();
#else #else
return QString("%1/%2") return QString("%1/%2").arg(
.arg(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation), QStandardPaths::writableLocation(QStandardPaths::ConfigLocation),
QCoreApplication::organizationName()); QCoreApplication::organizationName());
#endif #endif
} break; } break;
@ -356,9 +356,9 @@ QString GetConfigPath(ConfigPath config) {
return GetConfigPath(Path_Root) + "/cache"; return GetConfigPath(Path_Root) + "/cache";
} }
#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN) #if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
return QString("%1/%2") return QString("%1/%2").arg(QStandardPaths::writableLocation(
.arg(QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation), QStandardPaths::GenericCacheLocation),
QCoreApplication::organizationName()); QCoreApplication::organizationName());
#else #else
return GetConfigPath(Path_Root); return GetConfigPath(Path_Root);
#endif #endif