Hi Friends,
I am getting an error 'Index out of Range' in this program
Qt Code:
QStringList filters; filters << "*.xml"; dir.setNameFilters(filters); QStringList Strlist; QFileInfoList list = dir.entryInfoList(); for (int i = 0; i < list.size(); ++i) { Strlist<<fileInfo.baseName(); } ui.comboBox_2->insertItems(0,Strlist);To copy to clipboard, switch view to plain text mode
How to solve this?
Thanks in Advance..
Bookmarks