fixed some warnings in the qtclient