QR 3706 then IB 5940 at Barcelona
Bari → Barcelona → Nice
Timetable, Barcelona time
23:25QR 3706 from Bari at the gate
21:30IB 5940 to Nice leaves the gatealso LL 5940, VY 8136
22 h 05 apart on the timetable, overnight
IB 5940 leaves 22 h 05 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.