if (ui->exDirChkBox->isChecked()){
for (int j = 0; j < dirExclLst.count(); j++){
for(int k = 0; k < dirList.count(); k++){
QString strDrv = dirList[k].fileName();
QString exlLstName = dirExclLst[j];
if (strDrv == exlLstName){
dirList.removeAt(k);
}else{
//Do Nothing
}
}
}
}
yes.... i had done around 8-10 nested loops. i will try to get the code and post.
ReplyDelete