Commit ac8e3714 authored by hjk's avatar hjk

remove duplicate entries in File->New->Header, project combobox. also, sort that list

parent 5797b28f
......@@ -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(list);
}
void ProjectWizardPage::setAddToProjectEnabled(bool b)
......
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