summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorMichael M <mchtly@gmail.com>2017-09-15 08:51:08 -0700
committerMichael M <mchtly@gmail.com>2017-09-15 10:36:32 -0700
commit1e27e87d939ea19f0d2c05ceec05ee1e5802d401 (patch)
treedefa68f21297547214d8b56d45d18ec3cd00db15 /Source/Core/DolphinQt2/MainWindow.cpp
parent7cb8d6612c6df51073037b56ebc866f180aecd71 (diff)
QueueOnObject: accept pointers to member functions
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp
index a55b5b94b2..ce710b6ce0 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -877,7 +877,7 @@ void MainWindow::OnImportNANDBackup()
.arg((QDateTime::currentDateTime().toMSecsSinceEpoch() - beginning) / 1000));
});
});
- QueueOnObject(dialog, [dialog] { dialog->close(); });
+ QueueOnObject(dialog, &QProgressDialog::close);
});
dialog->exec();