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
Tobias Hunger
qt-creator
Commits
ac8e3714
Commit
ac8e3714
authored
Jun 30, 2009
by
hjk
Browse files
remove duplicate entries in File->New->Header, project combobox. also, sort that list
parent
5797b28f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectwizardpage.cpp
View file @
ac8e3714
...
...
@@ -53,8 +53,11 @@ ProjectWizardPage::~ProjectWizardPage()
void
ProjectWizardPage
::
setProjects
(
const
QStringList
&
l
)
{
QStringList
list
=
l
;
list
.
removeDuplicates
();
list
.
sort
();
m_ui
->
projectComboBox
->
clear
();
m_ui
->
projectComboBox
->
addItems
(
l
);
m_ui
->
projectComboBox
->
addItems
(
l
ist
);
}
void
ProjectWizardPage
::
setAddToProjectEnabled
(
bool
b
)
...
...
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