From 1f3df1811b3445c909063275ee5d2520d947abd2 Mon Sep 17 00:00:00 2001 From: spycrab Date: Wed, 23 May 2018 01:07:08 +0200 Subject: [PATCH] Qt/RunOnObject: Fix no result being returned --- Source/Core/DolphinQt2/QtUtils/RunOnObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/QtUtils/RunOnObject.h b/Source/Core/DolphinQt2/QtUtils/RunOnObject.h index 2b016db3f3..61628e7b3d 100644 --- a/Source/Core/DolphinQt2/QtUtils/RunOnObject.h +++ b/Source/Core/DolphinQt2/QtUtils/RunOnObject.h @@ -46,7 +46,7 @@ auto RunOnObject(QObject* object, F&& functor) { if (m_obj) { - (*m_result) = m_func(); + m_result = m_func(); } else {