Fix underline correction after port to qt 5