qtclient: backported more code warning fixes