Connect task box labels with commands as queued connection

This commit is contained in:
wmayer 2013-01-03 22:27:56 +01:00 committed by Stefan Tröger
parent cdd16de8e6
commit e6387c6acf

View File

@ -116,7 +116,7 @@ void TaskGroup::actionEvent (QActionEvent* e)
TaskIconLabel *label = new TaskIconLabel(
action->icon(), action->text(), this);
this->addIconLabel(label);
connect(label,SIGNAL(clicked()),action,SIGNAL(triggered()));
connect(label,SIGNAL(clicked()),action,SIGNAL(triggered()),Qt::QueuedConnection);
break;
}
case QEvent::ActionChanged: