Commit d3642a54 authored by mae's avatar mae
Browse files

use QueuedConnection for safety

parent 79bdbfa9
......@@ -158,7 +158,8 @@ void FancyActionBar::insertAction(int index, QAction *action, QMenu *menu)
// execute action also if a context menu item is select
connect(toolButton, SIGNAL(triggered(QAction*)),
this, SLOT(toolButtonContextMenuActionTriggered(QAction*)));
this, SLOT(toolButtonContextMenuActionTriggered(QAction*)),
Qt::QueuedConnection);
}
m_actionsLayout->insertWidget(index, toolButton);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment