QR 3767 then EC 7199 at Barcelona
Palermo → Barcelona → Edinburgh
Timetable, Barcelona time
14:25QR 3767 from Palermo at the gate
07:20EC 7199 to Edinburgh leaves the gate
16 h 55 apart on the timetable, overnight
EC 7199 leaves 16 h 55 after QR 3767 arrives on the timetable: more than half a day, so not a connection we count.