QueueOnObject: accept pointers to member functions

This commit is contained in:
Michael M committed 2017-09-15 10:36:32 -07:00
1 parent 7cb8d6612c
commit 1e27e87d93
3 files changed
+4 -4

No files matched your search

@@ -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)