FR 574 then VY 1158 at Barcelona
Bologna → Barcelona → Valletta
Timetable, Barcelona time
16:30FR 574 from Bologna at the gate
11:35VY 1158 to Valletta leaves the gate
19 h 05 apart on the timetable, overnight
VY 1158 leaves 19 h 05 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.