Qt: fix for 46ebd8b