summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-10-30 10:51:53 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-10-30 10:51:53 +0000
commit6068f67ba4689cea0ae5cb8f2c90e191eb622732 (patch)
tree58a7a00977182503e880364544a5230d7f1195f5 /gui
parent18919896f897aab0514d4ae5330a71cd654edb4a (diff)
Have selected call always match the current call.
The current call (highlighted with single-click or keyboard navigation) was serving no purpose, and this make navigation much more effective.
Diffstat (limited to 'gui')
-rw-r--r--gui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index 0c695069..f1678a87 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -760,7 +760,7 @@ void MainWindow::initConnections()
connect(m_ui.actionOptions, SIGNAL(triggered()),
this, SLOT(showSettings()));
- connect(m_ui.callView, SIGNAL(activated(const QModelIndex &)),
+ connect(m_ui.callView->selectionModel(), SIGNAL(currentChanged(const QModelIndex &, const QModelIndex &)),
this, SLOT(callItemSelected(const QModelIndex &)));
connect(m_ui.callView, SIGNAL(customContextMenuRequested(QPoint)),
this, SLOT(customContextMenuRequested(QPoint)));