TaskWindow: Fix connecting to both clicked and activated

Not really visible to the user, but lead to double activation on clicking.
This commit is contained in:
dt
2010-09-13 14:11:24 +01:00
parent 0bd7214e19
commit 9bf97a2fc6

View File

@@ -557,8 +557,6 @@ TaskWindow::TaskWindow(TaskHub *taskhub) : d(new TaskWindowPrivate)
connect(d->m_listview, SIGNAL(activated(QModelIndex)),
this, SLOT(triggerDefaultHandler(QModelIndex)));
connect(d->m_listview, SIGNAL(clicked(QModelIndex)),
this, SLOT(triggerDefaultHandler(QModelIndex)));
d->m_contextMenu = new QMenu(d->m_listview);
connect(d->m_contextMenu, SIGNAL(triggered(QAction*)),