Merge pull request #6946 from spycrab/qt_rob
Qt/RunOnObject: Fix no result being returned
This commit is contained in:
commit
51410b7672
|
@ -46,7 +46,7 @@ auto RunOnObject(QObject* object, F&& functor)
|
|||
{
|
||||
if (m_obj)
|
||||
{
|
||||
(*m_result) = m_func();
|
||||
m_result = m_func();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue