QR 3774 then W6 4406 at Barcelona
Torino → Barcelona → Sofia
Timetable, Barcelona time
20:25QR 3774 from Torino at the gate
19:40W6 4406 to Sofia leaves the gate
23 h 15 apart on the timetable, overnight
W6 4406 leaves 23 h 15 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.