summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodemodelinspectordumper.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-05-02 12:22:58 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-05-06 11:30:45 +0200
commit8d5e4b32a8d303240958f555eab14097bdbd50e5 (patch)
treef5da0d5f7d6a74d4f173cd9d918cd4a8b3161d3d /src/plugins/cpptools/cppcodemodelinspectordumper.cpp
parentfaab380cc114348e4ff6362b530a74258646c902 (diff)
downloadqt-creator-8d5e4b32a8d303240958f555eab14097bdbd50e5.tar.gz
Project: Use Utils::FileName as return type for projectFilePath()
Change-Id: If304d5e95cd9ac714100abaae35d60e3e1050eb2 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodemodelinspectordumper.cpp')
-rw-r--r--src/plugins/cpptools/cppcodemodelinspectordumper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cpptools/cppcodemodelinspectordumper.cpp b/src/plugins/cpptools/cppcodemodelinspectordumper.cpp
index e6328d60d9..2aef1c21cf 100644
--- a/src/plugins/cpptools/cppcodemodelinspectordumper.cpp
+++ b/src/plugins/cpptools/cppcodemodelinspectordumper.cpp
@@ -467,8 +467,8 @@ void Dumper::dumpProjectInfos( const QList<CppModelManagerInterface::ProjectInfo
m_out << "Projects loaded: " << projectInfos.size() << "{{{1\n";
foreach (const CppModelManagerInterface::ProjectInfo &info, projectInfos) {
const QPointer<ProjectExplorer::Project> project = info.project();
- m_out << i1 << "Project " << project->displayName() << " (" << project->projectFilePath()
- << "){{{2\n";
+ m_out << i1 << "Project " << project->displayName()
+ << " (" << project->projectFilePath().toUserOutput() << "){{{2\n";
const QList<ProjectPart::Ptr> projectParts = info.projectParts();
foreach (const ProjectPart::Ptr &part, projectParts) {
@@ -476,7 +476,7 @@ void Dumper::dumpProjectInfos( const QList<CppModelManagerInterface::ProjectInfo
QString projectFilePath = QLatin1String("<None>");
if (ProjectExplorer::Project *project = part->project) {
projectName = project->displayName();
- projectFilePath = project->projectFilePath();
+ projectFilePath = project->projectFilePath().toUserOutput();
}
if (!part->projectConfigFile.isEmpty())
m_out << i3 << "Project Config File: " << part->projectConfigFile << "\n";