PDA

View Full Version : QShortcut not working



berinder
24th November 2008, 11:20
Hello,

I have an application that uses "T" as a shortcut for a menuitem. The program is compiled for both Mac and Windows.

It works great except on one machine, where it isn't triggered. If they have the menu opened they say they can see the MenuItem being highlighted but the effect dosen't kick in.

The Menu is created in the .ui-file with the Designer; the interresting part in UI-file says:



<action name="actionZoomIn" >
<property name="text" >
<string>Zoom &amp;In</string>
</property>
<property name="shortcut" >
<string>T</string>
</property>
</action>


I do recognize that i have double shortcuts here that could pose a problem i guess.. But the weird thing that it happens for one machine only and the application seems to regocnice the shortcut, since the menuitem gets highligted.

Anyone have any ideas?

Qt 4.2.3.
Affected system runs Leopard.