summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/profileeditor.cpp
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/qt4projectmanager/profileeditor.cpp
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/qt4projectmanager/profileeditor.cpp')
-rw-r--r--src/plugins/qt4projectmanager/profileeditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qt4projectmanager/profileeditor.cpp b/src/plugins/qt4projectmanager/profileeditor.cpp
index 0ed797d372..e60d48c60e 100644
--- a/src/plugins/qt4projectmanager/profileeditor.cpp
+++ b/src/plugins/qt4projectmanager/profileeditor.cpp
@@ -161,7 +161,7 @@ ProFileEditorWidget::Link ProFileEditorWidget::findLinkAt(const QTextCursor &cur
}
}
- QDir dir(QFileInfo(editorDocument()->fileName()).absolutePath());
+ QDir dir(QFileInfo(editorDocument()->filePath()).absolutePath());
QString fileName = dir.filePath(buffer);
QFileInfo fi(fileName);
if (fi.exists()) {
@@ -220,13 +220,13 @@ ProFileDocument::ProFileDocument()
QString ProFileDocument::defaultPath() const
{
- QFileInfo fi(fileName());
+ QFileInfo fi(filePath());
return fi.absolutePath();
}
QString ProFileDocument::suggestedFileName() const
{
- QFileInfo fi(fileName());
+ QFileInfo fi(filePath());
return fi.fileName();
}