|
@@ -256,7 +256,7 @@ Experiment::openNext (){
|
|
|
for (int i = 0; i < choice->size (); i++){
|
|
|
QJsonObject choiceOnImage;
|
|
|
choiceOnImage["index"] = i;
|
|
|
- choiceOnImage["image"] = QString(filenames->at(i));
|
|
|
+ choiceOnImage["image"] = QString(QFileInfo(filenames->at(i)).baseName());
|
|
|
choiceOnImage["choice"] = QString(choice->at(i));
|
|
|
choices.push_back(choiceOnImage);
|
|
|
}
|