Hi All
I will appreciate your help in this matter:

Normally, the context menu of a QSystemTRayIcon will appear when user right-click on the icon.

i want it to show also when left click. So I catch "activated" with "trigger".
Now what do i do? Sure enough you will say this line is good: menu->show().

However - if user makes a left click before any right click action was performed - the context menu is opened in 0,0 position instead of near the icon.

Since the system tray can be located up or down the desktop - i do not want to compute the desired location myself. I would rather immitate the "right click" action programmatically, as if the user right clicked the middle of the icon.

I do not know how to do that - I searched the net and try many things.. but nothing worked. Please note the QSystenTrayIcon is not a QWidget...

I would appreciate any help - and if you have a piece of code that works i will be very greatfull to see it..
Thanks
Noa