FR 5150 then FR 9456 at Dublin
Glasgow → Dublin → Bologna
Timetable, Dublin time
23:40FR 5150 from Glasgow at the gate
19:10FR 9456 to Bologna leaves the gate
19 h 30 apart on the timetable, overnight
FR 9456 leaves 19 h 30 after FR 5150 arrives on the timetable: more than half a day, so not a connection we count.