summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorStarsam80 <samraskauskas@gmail.com>2017-06-04 14:43:41 -0600
committerStarsam80 <samraskauskas@gmail.com>2017-06-04 14:43:41 -0600
commite1ea6805a7d1f582c0028a86ca976d5b83548317 (patch)
treea60a7d36214de86090f8848920e38fc205012e85 /Source/Core/DolphinQt2/MainWindow.cpp
parent407463f0fe5616cada4485dab136e51702503f62 (diff)
Qt: Remove booting from the last path
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp7
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();