diff options
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<GameFile> selection = m_game_list->GetSelectedGame(); + if (selection) { - StartGame(selection); + StartGame(selection->GetFilePath()); } else { |
