summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/customwizard/customwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/customwizard/customwizard.cpp')
-rw-r--r--src/plugins/projectexplorer/customwizard/customwizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/customwizard/customwizard.cpp b/src/plugins/projectexplorer/customwizard/customwizard.cpp
index 3c3ceb63c2..d001f4f2e4 100644
--- a/src/plugins/projectexplorer/customwizard/customwizard.cpp
+++ b/src/plugins/projectexplorer/customwizard/customwizard.cpp
@@ -524,7 +524,7 @@ bool CustomProjectWizard::postGenerateOpen(const Core::GeneratedFiles &l, QStrin
// Post-Generate: Open the project and the editors as desired
foreach (const Core::GeneratedFile &file, l) {
if (file.attributes() & Core::GeneratedFile::OpenProjectAttribute) {
- if (!ProjectExplorerPlugin::instance()->openProject(file.path(), errorMessage))
+ if (!ProjectExplorerPlugin::openProject(file.path(), errorMessage))
return false;
}
}