diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index c31821d054..beefe311c3 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -340,10 +340,10 @@ void MainWindow::Play() } else { - QString selection = m_game_list->GetSelectedGame()->GetFilePath(); - if (selection.length() > 0) + QSharedPointer selection = m_game_list->GetSelectedGame(); + if (selection) { - StartGame(selection); + StartGame(selection->GetFilePath()); } else {