summaryrefslogtreecommitdiff
path: root/src/plugins/autotoolsprojectmanager
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-07-04 13:30:26 +0200
committerEike Ziller <eike.ziller@digia.com>2013-07-09 13:51:42 +0200
commitdd43d9908f3de19e455d5503b311bb3c1ae7b9c4 (patch)
treedf542f655c2380b2026d49a862c727cb0f1d86a0 /src/plugins/autotoolsprojectmanager
parentcee160225378acbc7d29665bd69f6f793ef78fb9 (diff)
downloadqt-creator-dd43d9908f3de19e455d5503b311bb3c1ae7b9c4.tar.gz
Rename IDocument::fileName --> filePath
That is what it actually is, wrt how Qt API calls it. Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp2
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsprojectnode.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp b/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp
index 052bab1d02..feca2cc241 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp
@@ -40,7 +40,7 @@ AutotoolsProjectFile::AutotoolsProjectFile(AutotoolsProject *project, const QStr
Core::IDocument(project),
m_project(project)
{
- setFileName(fileName);
+ setFilePath(fileName);
}
bool AutotoolsProjectFile::save(QString *errorString, const QString &fileName, bool autoSave)
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectnode.cpp b/src/plugins/autotoolsprojectmanager/autotoolsprojectnode.cpp
index ac9ae17b28..8bca0724de 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsprojectnode.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectnode.cpp
@@ -39,7 +39,7 @@ using namespace AutotoolsProjectManager::Internal;
using namespace ProjectExplorer;
AutotoolsProjectNode::AutotoolsProjectNode(AutotoolsProject *project, Core::IDocument *projectFile) :
- ProjectNode(projectFile->fileName()),
+ ProjectNode(projectFile->filePath()),
m_project(project),
m_projectFile(projectFile)
{