Catch up with API change to QTestLog::qWarn().