Qt/RunOnObject: Fix no result being returned

This commit is contained in:
spycrab 2018-05-23 01:07:08 +02:00
parent 0979febe78
commit 1f3df1811b
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ auto RunOnObject(QObject* object, F&& functor)
{
if (m_obj)
{
(*m_result) = m_func();
m_result = m_func();
}
else
{