In the FancyActionBar, trigger a button's default action

also when a context menu action is selected.

This allows the user e.g. to select and run a specific run
configuration with one click.
This commit is contained in:
mae
2009-08-20 18:44:02 +02:00
parent 2f69bedc5f
commit 79bdbfa965
2 changed files with 21 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ public:
void paintEvent(QPaintEvent *event);
void insertAction(int index, QAction *action, QMenu *menu = 0);
private slots:
void toolButtonContextMenuActionTriggered(QAction*);
private:
QVBoxLayout *m_actionsLayout;
};