QTfrontend/ui/page/pagevideos.cpp
changeset 7881 3ac3ff6c7c4f
parent 7867 a691fd5f98f8
child 7897 5e7c0810f365
--- a/QTfrontend/ui/page/pagevideos.cpp	Mon Oct 29 16:23:45 2012 -0400
+++ b/QTfrontend/ui/page/pagevideos.cpp	Mon Oct 29 21:14:48 2012 +0100
@@ -862,8 +862,8 @@
     {
         cfgdir->remove("Videos/" + item->name);
         // we have no idea whether screenshot is going to be bmp or png so let's delete both
-        cfgdir->remove("VideoTemp/" + item->name.section(".", 0, 0) + ".png");
-        cfgdir->remove("VideoTemp/" + item->name.section(".", 0, 0) + ".bmp");
+        cfgdir->remove("VideoTemp/" + item->prefix + ".png");
+        cfgdir->remove("VideoTemp/" + item->prefix + ".bmp");
     }
 
 // this code is for removing several files when multiple selection is enabled