Headphone line out to MD line in is right if that's all you have.
Are you transferring from MD to PC via USB? If your PC has sound connectors you could go straight from the hifi headphone socket to the PC's line in and bypass the MD stage. Or is that a problem because they aren't in the same room?
Anahata