Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
bfc9968c
Commit
bfc9968c
authored
Aug 02, 2010
by
Tobias Hunger
Browse files
Compile fix on mac
parent
7ae71931
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/deployconfiguration.cpp
View file @
bfc9968c
...
@@ -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
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment