QR 3749 then EC 8064 at Barcelona
Palma de Mallorca → Barcelona → London Gatwick
Timetable, Barcelona time
08:00QR 3749 from Palma de Mallorca at the gate
07:10EC 8064 to London Gatwick leaves the gate
23 h 10 apart on the timetable, overnight
EC 8064 leaves 23 h 10 after QR 3749 arrives on the timetable: more than half a day, so not a connection we count.