QTfrontend/ui/page/pagetraining.cpp
changeset 13650 fc46cb95c6d7
parent 13637 4c49a4944884
child 14467 4c743ef80b1b
equal deleted inserted replaced
13649:1b536e268519 13650:fc46cb95c6d7
   300         QListWidget *list;
   300         QListWidget *list;
   301         subFolder = getSubFolderOfSelected();
   301         subFolder = getSubFolderOfSelected();
   302         list = (QListWidget*) tbw->currentWidget();
   302         list = (QListWidget*) tbw->currentWidget();
   303         if (list->currentItem())
   303         if (list->currentItem())
   304         {
   304         {
   305             // TODO also use .pngs in userdata folder
       
   306             QString thumbFile =     "physfs://Graphics/Missions/" +
   305             QString thumbFile =     "physfs://Graphics/Missions/" +
   307                                     subFolder + "/" +
   306                                     subFolder + "/" +
   308                                     list->currentItem()->data(Qt::UserRole).toString() +
   307                                     list->currentItem()->data(Qt::UserRole).toString() +
   309                                     "@2x.png";
   308                                     "@2x.png";
   310 
   309