Hello,

I've got QAction with set QMenu, and I have little problem.
When I click on whole button where is nothing, but when i click on little arrow on right - menu is showing.
What I need to change to showing menu when I'm clicking on whole button (not only arrow) ?

Something like this:

Qt Code:
  1. action->menu()->exec(QCursor::pos())
To copy to clipboard, switch view to plain text mode 

but this method is showing different that original clicking on button arror.
So what is original function to show that menu on action ?