qDebug()<<"already present in model"<<"string :"<<m_subtitleList[start].first<<" start time "<<start.frames(pCore->getCurrentFps())<<"end time : "<<m_subtitleList[start].second.frames(pCore->getCurrentFps());
return;
}
if(model->m_subtitleList.count(start)>0){
/*if(model->m_subtitleList.count(start) > 0 ){
qDebug()<<"Start time already in model";
editSubtitle(start, str, end);
return;
}
}*/
autoit=model->m_subtitleList.lower_bound(start);// returns the key and its value *just* greater than start.
//Q_ASSERT(it->first < model->m_subtitleList.end()->second.second); // returns warning if added subtitle start time is less than last subtitle's end time
intinsertRow=static_cast<int>(model->m_subtitleList.size());//converts the returned unsigned size() to signed int