QR 3774 then QR 3573 at Barcelona
Torino → Barcelona → Cagliari
Timetable, Barcelona time
16:25QR 3774 from Torino at the gate
11:05QR 3573 to Cagliari leaves the gatealso IB 5798, LL 5798, VY 6114
18 h 40 apart on the timetable, overnight
QR 3573 leaves 18 h 40 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.