FR 9170 then QR 3670 at Barcelona
Stockholm → Barcelona → Torino
Timetable, Barcelona time
14:55FR 9170 from Stockholm at the gate
06:45QR 3670 to Torino leaves the gate
15 h 50 apart on the timetable, overnight
QR 3670 leaves 15 h 50 after FR 9170 arrives on the timetable: more than half a day, so not a connection we count.