Remove hard-wired ".pp2" strings to make transition to ".pp3" easier

This commit is contained in:
gabor
2010-05-20 17:37:32 +02:00
parent c5a72d2d84
commit c427279ce3
10 changed files with 36 additions and 34 deletions

View File

@@ -468,9 +468,9 @@ void FileCatalog::deleteRequested (std::vector<FileBrowserEntry*> tbe) {
cacheMgr.deleteEntry (fname);
// delete from file system
::g_remove (fname.c_str());
// delete .pp2 if found
::g_remove (Glib::ustring(fname+".pp2").c_str());
::g_remove (Glib::ustring(removeExtension(fname)+".pp2").c_str());
// delete paramfile if found
::g_remove (Glib::ustring(fname+paramFileExtension).c_str());
::g_remove (Glib::ustring(removeExtension(fname)+paramFileExtension).c_str());
// delete .thm file
::g_remove (Glib::ustring(removeExtension(fname)+".thm").c_str());
::g_remove (Glib::ustring(removeExtension(fname)+".THM").c_str());