DolphinQt: Disable converting from TGC

This should not be exposed to users before the merge of PR #8644.
(PR #8738 was unintentionally merged before PR #8644.)
This commit is contained in:
JosJuice 2020-04-28 18:49:52 +02:00
parent 116cef572b
commit d006a8b52f
1 changed files with 4 additions and 1 deletions

View File

@ -257,7 +257,10 @@ void GameList::ShowContextMenu(const QPoint&)
if (HasMultipleSelected())
{
if (std::all_of(GetSelectedGames().begin(), GetSelectedGames().end(), [](const auto& game) {
return DiscIO::IsDisc(game->GetPlatform()) && game->IsVolumeSizeAccurate();
// Converting from TGC is temporarily disabled because PR #8738 was merged prematurely.
// The TGC check will be removed by PR #8644.
return DiscIO::IsDisc(game->GetPlatform()) && game->IsVolumeSizeAccurate() &&
game->GetBlobType() != DiscIO::BlobType::TGC;
}))
{
menu->addAction(tr("Convert Selected Files..."), this, &GameList::ConvertFile);