Wikipedia says: The memorable traditional tune "When The Boat Comes In" was adapted by David Fanshawe and sung by Alex Glasgow for the title theme of the series. Fanshawe also composed the incidental music.
I think that's correct - I didn't see the other credit.