Fix typo in PREFERED_PROJECT_MODE

Replace PREFERED_PROJECT_NODE with PREFERRED_PROJECT_NODE.

This changes public API. The constant text does not seem to be stored
on disk anywhere, though ...

Change-Id: Id5393e597ed491b59075ff3687aaa4738fb3870c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Kai Koehne
2014-03-19 10:07:22 +01:00
parent 868428cc63
commit 2074b5571c
5 changed files with 6 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ Core::GeneratedFiles ClassWizard::generateFiles(const QWizard *w,
Kit *ClassWizard::kitForWizard(const ClassWizardDialog *wizard) const
{
const QString key = QLatin1String(ProjectExplorer::Constants::PREFERED_PROJECT_NODE);
const QString key = QLatin1String(ProjectExplorer::Constants::PREFERRED_PROJECT_NODE);
const QString nodePath = wizard->extraValues().value(key).toString();
// projectForFile doesn't find project if project file path passed