Qt UI: fix typo in Mac OS X specific code