fixed possible warning in qtglwrappers