From 6068f67ba4689cea0ae5cb8f2c90e191eb622732 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sun, 30 Oct 2011 10:51:53 +0000 Subject: [PATCH] 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. --- gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 0c69506..f1678a8 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))); -- 2.45.2