QR 3774 then VY 1084 at Barcelona
Torino → Barcelona → Basel
Timetable, Barcelona time
16:25QR 3774 from Torino at the gatealso IB 5811, LL 5811, VY 6129
09:40VY 1084 to Basel leaves the gatealso IB 5036, LL 5036
17 h 15 apart on the timetable, overnight
VY 1084 leaves 17 h 15 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.