diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2013-05-13 15:33:54 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-05-13 15:33:54 +0100 |
commit | 9d1b1c55ac7204dbbedee97ce52c2cd1def2fd5b (patch) | |
tree | 184835388da208630a220ae06e1b254130a9e5ca | |
parent | 7fe3fbe01861e5bc5bf0c4bd1836534b85bc1e0f (diff) |
gui: Make "Details View" the default pane.
Instead of the "Backtrace".
-rw-r--r-- | gui/mainwindow.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index e46fce6a..2891863a 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -121,13 +121,6 @@ void MainWindow::callItemSelected(const QModelIndex &index) if (event && event->type() == ApiTraceEvent::Call) { ApiTraceCall *call = static_cast<ApiTraceCall*>(event); - if (!call->backtrace().isNull()) { - m_ui.backtraceBrowser->setText(call->backtrace()); - m_ui.backtraceDock->show(); - } - else { - m_ui.backtraceDock->hide(); - } m_ui.detailsDock->setWindowTitle( tr("Details View. Frame %1, Call %2") .arg(call->parentFrame() ? call->parentFrame()->number : 0) @@ -157,6 +150,8 @@ void MainWindow::callItemSelected(const QModelIndex &index) } } } + m_ui.backtraceBrowser->setText(call->backtrace()); + m_ui.backtraceDock->setVisible(!call->backtrace().isNull()); m_ui.vertexDataDock->setVisible(call->hasBinaryData()); m_selectedEvent = call; } else { |