if (event && event->type() == ApiTraceEvent::Call) {
ApiTraceCall *call = static_cast<ApiTraceCall*>(event);
+ m_ui.detailsDock->setWindowTitle(
+ tr("Details View. Frame %1, Call %2")
+ .arg(call->parentFrame() ? call->parentFrame()->number : 0)
+ .arg(call->index()));
m_ui.detailsWebView->setHtml(call->toHtml());
m_ui.detailsDock->show();
if (call->hasBinaryData()) {
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)));