summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-01-13 17:17:24 +0100
committerGitHub <noreply@github.com>2020-01-13 17:17:24 +0100
commit966e1b31ba42f836df2f2c8fff98687267912885 (patch)
tree85e6b7431e1cea1214e86ec08bd62c99dced2c50 /Source/Core/DolphinQt/MainWindow.cpp
parentae6d3be449eb7779a3af4fad251c8e0dc3e3df21 (diff)
parent3b5d20e12c9d911e32ad269b37a984ee060357b9 (diff)
Merge pull request #8394 from Pokechu22/misc-di-gpio
Various DI improvements
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 7216b00206..88e5aa3f9a 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -686,7 +686,7 @@ void MainWindow::ChangeDisc()
void MainWindow::EjectDisc()
{
- Core::RunAsCPUThread(DVDInterface::EjectDisc);
+ Core::RunAsCPUThread([] { DVDInterface::EjectDisc(DVDInterface::EjectCause::User); });
}
void MainWindow::Open()