Hi,

im inserting some items like this:
Qt Code:
  1. QString path = ui.source_path_cb->currentText();
  2. QDir dir(path);
  3. QStringList list = dir.entryList(QDir::Files);
  4. for(unsigned i=0; i<list.count();i++){
  5. if(list[i]=="." || list[i]=="..") continue;
  6. ui.software_cb->insertItem(-1, list[i]);}
To copy to clipboard, switch view to plain text mode 

How could i sort my combobox?