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 7d03751e57
commit f3eb8dd1f8

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: