Commit bfc9968c authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Compile fix on mac

parent 7ae71931
...@@ -79,7 +79,7 @@ QVariantMap DeployConfiguration::toMap() const ...@@ -79,7 +79,7 @@ QVariantMap DeployConfiguration::toMap() const
{ {
QVariantMap map(ProjectConfiguration::toMap()); QVariantMap map(ProjectConfiguration::toMap());
map.insert(QLatin1String(BUILD_STEP_LIST_COUNT), 1); map.insert(QLatin1String(BUILD_STEP_LIST_COUNT), 1);
map.insert(QLatin1String(BUILD_STEP_LIST_PREFIX) % QLatin1String("0"), m_stepList->toMap()); map.insert(QLatin1String(BUILD_STEP_LIST_PREFIX) + QLatin1String("0"), m_stepList->toMap());
return map; return map;
} }
...@@ -96,7 +96,7 @@ bool DeployConfiguration::fromMap(const QVariantMap &map) ...@@ -96,7 +96,7 @@ bool DeployConfiguration::fromMap(const QVariantMap &map)
int maxI = map.value(QLatin1String(BUILD_STEP_LIST_COUNT), 0).toInt(); int maxI = map.value(QLatin1String(BUILD_STEP_LIST_COUNT), 0).toInt();
Q_ASSERT(maxI == 1); Q_ASSERT(maxI == 1);
QVariantMap data = map.value(QLatin1String(BUILD_STEP_LIST_PREFIX) % QLatin1String("0")).toMap(); QVariantMap data = map.value(QLatin1String(BUILD_STEP_LIST_PREFIX) + QLatin1String("0")).toMap();
if (!data.isEmpty()) { if (!data.isEmpty()) {
m_stepList = new BuildStepList(this, data); m_stepList = new BuildStepList(this, data);
if (m_stepList->isNull()) { if (m_stepList->isNull()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment