Fixed qtopengl compilation warning.