(Windows) Converted forward slashes to backslashes for a file deletion log message

This commit is contained in:
Leon Styhre 2023-04-08 13:59:21 +02:00
parent f35b411911
commit e9cd5dfd84

View file

@ -479,7 +479,12 @@ void GuiGamelistOptions::openMetaDataEd()
};
deleteGameBtnFunc = [this, file] {
#if defined(_WIN64)
LOG(LogInfo) << "Deleting game file \""
<< Utils::String::replace(file->getFullPath(), "/", "\\")
#else
LOG(LogInfo) << "Deleting game file \"" << file->getFullPath()
#endif
<< "\", all its media files and its gamelist.xml entry";
CollectionSystemsManager::getInstance()->deleteCollectionFiles(file);
ViewController::getInstance()->getGamelistView(file->getSystem()).get()->removeMedia(file);