Remove DVDInterface::ChangeDiscAsHost

There isn't much point in keeping this utility function around
now that RunAsCPUThread provides a simple way of running things
on the CPU thread.
This commit is contained in:
JosJuice
2017-09-17 11:44:27 +02:00
parent 29bfdbb36b
commit b6bc3bc7c9
7 changed files with 9 additions and 16 deletions
+2 -1
View File
@@ -417,7 +417,8 @@ void GameList::DeleteFile()
void GameList::ChangeDisc()
{
DVDInterface::ChangeDiscAsHost(GetSelectedGame()->GetFilePath().toStdString());
Core::RunAsCPUThread(
[this] { DVDInterface::ChangeDisc(GetSelectedGame()->GetFilePath().toStdString()); });
}
QSharedPointer<GameFile> GameList::GetSelectedGame() const