QueueOnObject: accept pointers to member functions

This commit is contained in:
Michael M
2017-09-15 08:51:08 -07:00
parent 7cb8d6612c
commit 1e27e87d93
3 changed files with 4 additions and 4 deletions

View File

@ -405,7 +405,7 @@ void NetPlayDialog::StopGame()
void NetPlayDialog::Update()
{
QueueOnObject(this, [this] { UpdateGUI(); });
QueueOnObject(this, &NetPlayDialog::UpdateGUI);
}
void NetPlayDialog::DisplayMessage(const QString& msg, const std::string& color, int duration)