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
......@@ -58,7 +58,8 @@ TargetsPage::TargetsPage(QWidget *parent)
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));
Supports Markdown
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