Project: Use Utils::FileName as return type for projectFilePath()

Change-Id: If304d5e95cd9ac714100abaae35d60e3e1050eb2
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2014-05-02 12:22:58 +02:00
parent faab380cc1
commit 8d5e4b32a8
30 changed files with 69 additions and 70 deletions

View File

@@ -1612,15 +1612,14 @@ void CppCodeModelInspectorDialog::updateProjectPartData(const ProjectPart::Ptr &
QString projectFilePath = QLatin1String("<None>");
if (ProjectExplorer::Project *project = part->project) {
projectName = project->displayName();
projectFilePath = project->projectFilePath();
projectFilePath = project->projectFilePath().toUserOutput();
}
KeyValueModel::Table table = KeyValueModel::Table()
<< qMakePair(QString::fromLatin1("Project Part Name"), part->displayName)
<< qMakePair(QString::fromLatin1("Project Part File"),
QDir::toNativeSeparators(part->projectFile))
<< qMakePair(QString::fromLatin1("Project Name"), projectName)
<< qMakePair(QString::fromLatin1("Project File"),
QDir::toNativeSeparators(projectFilePath))
<< qMakePair(QString::fromLatin1("Project File"), projectFilePath)
<< qMakePair(QString::fromLatin1("C Version"),
CMI::Utils::toString(part->cVersion))
<< qMakePair(QString::fromLatin1("CXX Version"),