QR 145 then EC 7199 at Barcelona
Doha → Barcelona → Edinburgh
Timetable, Barcelona time
13:25QR 145 from Doha at the gatealso LA 6070, IB 6203
06:55EC 7199 to Edinburgh leaves the gate
17 h 30 apart on the timetable, overnight
EC 7199 leaves 17 h 30 after QR 145 arrives on the timetable: more than half a day, so not a connection we count.