# HG changeset patch
# User koda
# Date 1351541688 -3600
# Node ID 3ac3ff6c7c4f847d936ab1e19f50c17b24bf672e
# Parent  0efaf70681bd56d1a014bb6c7034e1a16d9e6212
use VideoItem::prefix instead of VideoItem::name as suggested by Stepan777

diff -r 0efaf70681bd -r 3ac3ff6c7c4f QTfrontend/ui/page/pagevideos.cpp
--- 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