forked from qt-creator/qt-creator
Some more FileName::appendPath -> pathAppended() changes
Change-Id: Ia05b54f157b08353d5a9efccee48dfc212d3a489 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -107,10 +107,8 @@ void ClangToolsProjectSettings::load()
|
||||
if (message.isEmpty())
|
||||
continue;
|
||||
Utils::FileName fullPath = Utils::FileName::fromString(fp);
|
||||
if (fullPath.toFileInfo().isRelative()) {
|
||||
fullPath = m_project->projectDirectory();
|
||||
fullPath.appendPath(fp);
|
||||
}
|
||||
if (fullPath.toFileInfo().isRelative())
|
||||
fullPath = m_project->projectDirectory().pathAppended(fp);
|
||||
if (!fullPath.exists())
|
||||
continue;
|
||||
const QString contextKind = diag.value(SETTINGS_KEY_SUPPRESSED_DIAGS_CONTEXTKIND).toString();
|
||||
|
||||
Reference in New Issue
Block a user