GameList: make GetSelectedGame a pointer to GameFile

This commit is contained in:
Michael M
2017-08-10 13:19:34 -07:00
parent f2a9ad0089
commit 3c002f0213
5 changed files with 32 additions and 26 deletions

View File

@ -310,7 +310,7 @@ void MainWindow::Play()
}
else
{
QString selection = m_game_list->GetSelectedGame();
QString selection = m_game_list->GetSelectedGame()->GetFilePath();
if (selection.length() > 0)
{
StartGame(selection);