QTfrontend/ui/page/pagevideos.cpp
changeset 7881 3ac3ff6c7c4f
parent 7867 a691fd5f98f8
child 7897 5e7c0810f365
equal deleted inserted replaced
7880:0efaf70681bd 7881:3ac3ff6c7c4f
   860         item->pRecorder->deleteLater();
   860         item->pRecorder->deleteLater();
   861     else
   861     else
   862     {
   862     {
   863         cfgdir->remove("Videos/" + item->name);
   863         cfgdir->remove("Videos/" + item->name);
   864         // we have no idea whether screenshot is going to be bmp or png so let's delete both
   864         // we have no idea whether screenshot is going to be bmp or png so let's delete both
   865         cfgdir->remove("VideoTemp/" + item->name.section(".", 0, 0) + ".png");
   865         cfgdir->remove("VideoTemp/" + item->prefix + ".png");
   866         cfgdir->remove("VideoTemp/" + item->name.section(".", 0, 0) + ".bmp");
   866         cfgdir->remove("VideoTemp/" + item->prefix + ".bmp");
   867     }
   867     }
   868 
   868 
   869 // this code is for removing several files when multiple selection is enabled
   869 // this code is for removing several files when multiple selection is enabled
   870 #if 0
   870 #if 0
   871     QList<QTableWidgetItem*> items = filesTable->selectedItems();
   871     QList<QTableWidgetItem*> items = filesTable->selectedItems();