More FileName::appendPath() -> .pathAppended()

Change-Id: I403d34e4f52f758339c158efc7a11fd329e3e043
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-05-17 12:32:05 +02:00
parent 0565457b5c
commit f4c9e5e5c4
23 changed files with 39 additions and 58 deletions

View File

@@ -119,9 +119,7 @@ QString CodeStylePool::settingsDir() const
Utils::FileName CodeStylePool::settingsPath(const QByteArray &id) const
{
Utils::FileName path = Utils::FileName::fromString(settingsDir());
path.appendPath(QString::fromUtf8(id + ".xml"));
return path;
return Utils::FileName::fromString(settingsDir()).pathAppended(QString::fromUtf8(id + ".xml"));
}
QList<ICodeStylePreferences *> CodeStylePool::codeStyles() const