mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
RunOnObject: accept pointers to member functions
This commit is contained in:
@ -524,7 +524,7 @@ void NetPlayDialog::OnTraversalError(TraversalClient::FailureReason error)
|
||||
|
||||
bool NetPlayDialog::IsRecording()
|
||||
{
|
||||
return RunOnObject(this, [this] { return m_record_input_box->isChecked(); });
|
||||
return RunOnObject(m_record_input_box, &QCheckBox::isChecked);
|
||||
}
|
||||
|
||||
std::string NetPlayDialog::FindGame(const std::string& game)
|
||||
|
Reference in New Issue
Block a user