Squish: Avoid crash in tst_designer_autocomplete on Mac

Again this is related to Squish 5 having problems handling menus
on Qt5.2 built applications.

Change-Id: Ia017b48db5b6ab816a50504abc05c086fdf65799
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Squish: Avoid crash in tst_designer_goto_slot on Mac

Again this is related to Squish 5 having problems handling menus
on Qt5.2 built applications.

Change-Id: Ie256b2d93259baaf86beaa1a5d9fbed2248ac2ef
Reviewed-by: Robert Loehning <robert.loehning@digia.com>