It's down to balance. Without the domestic and short haul feed, would all their long haul remain viable? I'm sure I've read things from them in the past about the proportion of domestic passengers that go on to connect into another of their flights.
True, sending an A319 to Newquay may not stack up, but a codeshare on a Q400 may make sense for both parties concerned.