Commit bb08d3a5 authored by Denis Khachko's avatar Denis Khachko

CheckCourse app loadField from course

parent f2aba0e5
......@@ -436,8 +436,8 @@ void Plugin::selectNext(KumZadanie* task)
return;
}
QFile* field_data=new QFile(dirName+task->field(task->isps.at(i), field_no));
qDebug()<<"Loadfield"<<dirName+task->field(task->isps.at(i),field_no);
QFile* field_data=new QFile(dirName+"/"+task->field(task->isps.at(i), field_no));
qDebug()<<"Loadfield"<<dirName+"/"+task->field(task->isps.at(i),field_no);
if(!field_data->open(QIODevice::ReadOnly)){
showError(QString::fromUtf8("Ошибка открытия обстановки!"));
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment