Commit 9bf97a2f authored by dt's avatar dt
Browse files

TaskWindow: Fix connecting to both clicked and activated

Not really visible to the user, but lead to double activation on clicking.
parent 0bd7214e
...@@ -557,8 +557,6 @@ TaskWindow::TaskWindow(TaskHub *taskhub) : d(new TaskWindowPrivate) ...@@ -557,8 +557,6 @@ TaskWindow::TaskWindow(TaskHub *taskhub) : d(new TaskWindowPrivate)
connect(d->m_listview, SIGNAL(activated(QModelIndex)), connect(d->m_listview, SIGNAL(activated(QModelIndex)),
this, SLOT(triggerDefaultHandler(QModelIndex))); this, SLOT(triggerDefaultHandler(QModelIndex)));
connect(d->m_listview, SIGNAL(clicked(QModelIndex)),
this, SLOT(triggerDefaultHandler(QModelIndex)));
d->m_contextMenu = new QMenu(d->m_listview); d->m_contextMenu = new QMenu(d->m_listview);
connect(d->m_contextMenu, SIGNAL(triggered(QAction*)), connect(d->m_contextMenu, SIGNAL(triggered(QAction*)),
......
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