Qt UI: added dockClickHandler() for Mac OS X (platform-specific)