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
57ba6b09
Commit
57ba6b09
authored
Dec 02, 2009
by
dt
Browse files
Fix active configuration combobox
parent
ec2fa92e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectwindow.cpp
View file @
57ba6b09
...
...
@@ -515,8 +515,8 @@ BuildConfigurationComboBox::BuildConfigurationComboBox(Project *p, QWidget *pare
addWidget
(
m_label
);
//m_comboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);
foreach
(
const
BuildConfiguration
*
buildConfiguration
,
p
->
buildConfigurations
())
m_comboBox
->
addItem
(
buildConfiguration
->
displayName
(),
buildConfiguration
);
foreach
(
BuildConfiguration
*
buildConfiguration
,
p
->
buildConfigurations
())
m_comboBox
->
addItem
(
buildConfiguration
->
displayName
(),
QVariant
::
fromValue
(
buildConfiguration
)
)
;
if
(
p
->
buildConfigurations
().
count
()
==
1
)
{
m_label
->
setText
(
m_comboBox
->
itemText
(
0
));
setCurrentWidget
(
m_label
);
...
...
Write
Preview
Supports
Markdown
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