summaryrefslogtreecommitdiff
path: root/src/plugins/qbsprojectmanager/qbsprojectimporter.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-10-05 15:04:25 +0200
committerTobias Hunger <tobias.hunger@qt.io>2018-10-10 08:31:16 +0000
commita43331ba67f4fa33b60338ac04a2dc4a455bb253 (patch)
tree1c83d1c07ae30c9c2bf00d4cb3a0534088f7c9e7 /src/plugins/qbsprojectmanager/qbsprojectimporter.cpp
parent5f80bdfbcba811c665197bf4d80ddcf6c502b040 (diff)
downloadqt-creator-a43331ba67f4fa33b60338ac04a2dc4a455bb253.tar.gz
Move "builddirectory" template from Core to ProjectExplorer
Move Core::DocumentManager::buildDirectory to ProjectExplorerPlugin::buildDirectoryTemplate. Move the setter along. Change-Id: I3f1739723e800d04d2934149369b8881208305b4 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qbsprojectmanager/qbsprojectimporter.cpp')
-rw-r--r--src/plugins/qbsprojectmanager/qbsprojectimporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsprojectimporter.cpp b/src/plugins/qbsprojectmanager/qbsprojectimporter.cpp
index 8978631d6c..11aaff4c1d 100644
--- a/src/plugins/qbsprojectmanager/qbsprojectimporter.cpp
+++ b/src/plugins/qbsprojectmanager/qbsprojectimporter.cpp
@@ -93,7 +93,7 @@ static QString buildDir(const QString &projectFilePath, const Kit *k)
BuildConfiguration::Unknown);
const QString projectDir
= Project::projectDirectory(FileName::fromString(projectFilePath)).toString();
- const QString buildPath = expander.expand(Core::DocumentManager::buildDirectory());
+ const QString buildPath = expander.expand(ProjectExplorerPlugin::defaultBuildDirectory());
return FileUtils::resolvePath(projectDir, buildPath);
}