summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2022-09-22 21:56:24 -0400
committerGitHub <noreply@github.com>2022-09-22 21:56:24 -0400
commitb0ac5ac6aff7ca3c6177e66b055430e88a366ea2 (patch)
treece0d71008aa5f5f37b74fb14a79c0c100b94132c /Source/Core/DolphinQt/MainWindow.cpp
parent22197c09a3cf2753c007d8ef8d75daa5fc2c44b9 (diff)
parente54818e60dc820962290ef3600fc77a7882ba98e (diff)
Merge pull request #10949 from Zopolis4/reprecated
Resolve C++20 deprecation warnings
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 52a2a0290c..0e833a7d2c 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -357,7 +357,7 @@ void MainWindow::ShutdownControllers()
void MainWindow::InitCoreCallbacks()
{
- connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [=](Core::State state) {
+ connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) {
if (state == Core::State::Uninitialized)
OnStopComplete();
if (state != Core::State::Uninitialized && NetPlay::IsNetPlayRunning() && m_controllers_window)
@@ -374,7 +374,7 @@ void MainWindow::InitCoreCallbacks()
// Handle file open events
auto* filter = new FileOpenEventFilter(QGuiApplication::instance());
- connect(filter, &FileOpenEventFilter::fileOpened, this, [=](const QString& file_name) {
+ connect(filter, &FileOpenEventFilter::fileOpened, this, [this](const QString& file_name) {
StartGame(BootParameters::GenerateFromFile(file_name.toStdString()));
});
}