diff options
| author | Starsam80 <samraskauskas@gmail.com> | 2017-06-04 14:43:41 -0600 |
|---|---|---|
| committer | Starsam80 <samraskauskas@gmail.com> | 2017-06-04 14:43:41 -0600 |
| commit | e1ea6805a7d1f582c0028a86ca976d5b83548317 (patch) | |
| tree | a60a7d36214de86090f8848920e38fc205012e85 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | 407463f0fe5616cada4485dab136e51702503f62 (diff) | |
Qt: Remove booting from the last path
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index c003f5be04..3382cee4c0 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -213,11 +213,7 @@ void MainWindow::Play() } else { - QString last_path = Settings().GetLastGame(); - if (!last_path.isEmpty() && QFile::exists(last_path)) - StartGame(last_path); - else - Open(); + Open(); } } } @@ -304,7 +300,6 @@ void MainWindow::StartGame(const QString& path) QMessageBox::critical(this, tr("Error"), tr("Failed to init core"), QMessageBox::Ok); return; } - Settings().SetLastGame(path); ShowRenderWidget(); emit EmulationStarted(); |
