equal
deleted
inserted
replaced
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(); |