Qt 4.7|Client: Fixed Qt 4.7 compatibility (no foreach with QVarLengthArray)