X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fmainwindow.cpp;h=fce9984a33c89fc8b34b8ecca08d597ab3af3c42;hb=97ac28e65ca20b5649552597afaeee1d67766f6a;hp=023635197051bcf1023ad1727a53fe0c2821c504;hpb=e5fa5417ce8042612304152779e563174782153d;p=apitrace diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 0236351..fce9984 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()) { @@ -802,6 +806,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)));