Fix compilation

Change-Id: I298f5d655f69597920994d8d5efc1b67f1bd72bf
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2014-10-23 19:24:45 +03:00
committed by hjk
parent acd0d02e28
commit 6c139bd62b

View File

@@ -48,7 +48,7 @@ namespace ProjectExplorer {
JsonKitsPage::JsonKitsPage(QWidget *parent) : TargetSetupPage(parent) JsonKitsPage::JsonKitsPage(QWidget *parent) : TargetSetupPage(parent)
{ } { }
void ProjectExplorer::JsonKitsPage::initializePage() void JsonKitsPage::initializePage()
{ {
JsonWizard *wiz = qobject_cast<JsonWizard *>(wizard()); JsonWizard *wiz = qobject_cast<JsonWizard *>(wizard());
QTC_ASSERT(wiz, return); QTC_ASSERT(wiz, return);
@@ -58,7 +58,7 @@ void ProjectExplorer::JsonKitsPage::initializePage()
const QString platform = wiz->value(QLatin1String("Platform")).toString(); const QString platform = wiz->value(QLatin1String("Platform")).toString();
const Core::FeatureSet preferred = Core::FeatureSet::fromStringList(wiz->value(QLatin1String("PreferredFeatures")).toStringList()); const Core::FeatureSet preferred = Core::FeatureSet::fromStringList(wiz->value(QLatin1String("PreferredFeatures")).toStringList());
const Core::FeatureSet required = Core::FeatureSet::fromStringList(wiz->value(QLatin1String("RequiredFeatures")).toStringList()); const Core::FeatureSet required = Core::FeatureSet::fromStringList(wiz->value(QLatin1String("RequiredFeatures")).toStringList());
const QString path = Utils::expandMacros(m_projectFilePath, wiz->expander()); const QString path = wiz->expander()->expand(m_projectFilePath);
setProjectPath(path); setProjectPath(path);