Fix Qt 4 issue.