QR 3772 then FR 777 at Barcelona
Basel → Barcelona → Venezia
Timetable, Barcelona time
13:05QR 3772 from Basel at the gate
11:20FR 777 to Venezia leaves the gate
22 h 15 apart on the timetable, overnight
FR 777 leaves 22 h 15 after QR 3772 arrives on the timetable: more than half a day, so not a connection we count.