Are you sure this function is executed?
If it is, then maybe the PackageLogs exits very fast so you don't have time to see the difference.
Try adding QThread::msleep(5000); before or after the function call.See if you notice any difference.
Regards
Bookmarks