Yet another Qt fix (see #5395)