public List<QualityProfile> getProfiles() {
List<QualityProfile> res = new ArrayList<QualityProfile>();
for (int i = 0; i < getProfileCmb().getItemCount(); i++) {
res.add((QualityProfile) getProfileCmb().getItemAt(i));
}
Collections.sort(res, new QualityProfileComparator());
return res;
}