VS 22 then BA 790 at Heathrow
Washington → London → Göteborg
Timetable, London time
07:55VS 22 from Washington at the gate
07:50BA 790 to Göteborg leaves the gate
23 h 55 apart on the timetable, overnight
BA 790 leaves 23 h 55 after VS 22 arrives on the timetable: more than half a day, so not a connection we count.