Skip to content
Snippets Groups Projects
Commit cdf2ec6f authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Sort targets by name

 when presenting them in the new project wizard.
parent f2295f88
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,8 @@ TargetsPage::TargetsPage(QWidget *parent)
vbox->addWidget(m_treeWidget);
QtVersionManager *vm = QtVersionManager::instance();
QSet<QString> targets = vm->supportedTargetIds();
QStringList targets = vm->supportedTargetIds().toList();
qSort(targets.begin(), targets.end());
Qt4TargetFactory factory;
bool hasDesktop = targets.contains(QLatin1String(DESKTOP_TARGET_ID));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment