Skip to content
GitLab
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
87e642a4
Commit
87e642a4
authored
Nov 27, 2009
by
dt
Browse files
Fix bugs introduced by refactoring
parent
cff2c1df
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/buildsettingspropertiespage.cpp
View file @
87e642a4
...
...
@@ -254,8 +254,8 @@ void BuildSettingsWidget::updateBuildSettings()
m_subWidgets
->
addWidget
(
subConfigWidget
->
displayName
(),
subConfigWidget
);
// Add tree items
foreach
(
const
BuildConfiguration
*
bc
,
m_project
->
buildConfigurations
())
{
m_buildConfigurationComboBox
->
addItem
(
bc
->
displayName
(),
bc
);
foreach
(
BuildConfiguration
*
bc
,
m_project
->
buildConfigurations
())
{
m_buildConfigurationComboBox
->
addItem
(
bc
->
displayName
(),
QVariant
::
fromValue
(
bc
)
)
;
if
(
bc
==
m_buildConfiguration
)
m_buildConfigurationComboBox
->
setCurrentIndex
(
m_buildConfigurationComboBox
->
count
()
-
1
);
}
...
...
src/plugins/projectexplorer/project.cpp
View file @
87e642a4
...
...
@@ -271,6 +271,7 @@ bool Project::restoreSettingsImpl(PersistentSettingsReader &reader)
}
}
}
addBuildConfiguration
(
bc
);
}
// Set Active Configuration
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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