summaryrefslogtreecommitdiff
path: root/gui/mainwindow.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-10-30 10:56:04 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-03-17 21:57:41 +0000
commit63d59406e8f68dcf88e630c21b08da05e82b9b80 (patch)
treebf26ec2910ef91e424c2a38490b801fc4bf6e24a /gui/mainwindow.cpp
parent47cf67e4c7a9cbb031c38c50f1ec2732d14558a2 (diff)
Lookup call state on double-click.
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r--gui/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index 672ad643..039889ca 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -148,6 +148,10 @@ void MainWindow::callItemSelected(const QModelIndex &index)
}
}
+void MainWindow::callItemActivated(const QModelIndex &index) {
+ lookupState();
+}
+
void MainWindow::replayStart()
{
if (m_trace->isSaving()) {
@@ -779,6 +783,8 @@ void MainWindow::initConnections()
connect(m_ui.callView->selectionModel(), SIGNAL(currentChanged(const QModelIndex &, const QModelIndex &)),
this, SLOT(callItemSelected(const QModelIndex &)));
+ connect(m_ui.callView, SIGNAL(doubleClicked(const QModelIndex &)),
+ this, SLOT(callItemActivated(const QModelIndex &)));
connect(m_ui.callView, SIGNAL(customContextMenuRequested(QPoint)),
this, SLOT(customContextMenuRequested(QPoint)));