aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind/callgrindtool.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2011-06-20 17:41:04 +0200
committerhjk <[email protected]>2011-06-20 17:39:24 +0200
commit11457966b3a95aba9a49e0c1eec1b6f07ec51fa8 (patch)
tree8be8ffe2c4d514f2e3563202f6c04a05fc2bdfec /src/plugins/valgrind/callgrindtool.cpp
parent7975ff15b94d0e1a9f6309deca80d5114463e700 (diff)
anaylyzer: remove "goto overview" action in callgrind tool
Change-Id: I02fcc8ef5983c9759448ea8f831f46a44eb5c184 Reviewed-on: http://codereview.qt.nokia.com/525 Reviewed-by: Qt Sanity Bot <[email protected]> Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/valgrind/callgrindtool.cpp')
-rw-r--r--src/plugins/valgrind/callgrindtool.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp
index 6bfc994ff36..6e52521124c 100644
--- a/src/plugins/valgrind/callgrindtool.cpp
+++ b/src/plugins/valgrind/callgrindtool.cpp
@@ -189,7 +189,6 @@ public:
Visualisation *m_visualisation;
// navigation
- QAction *m_goToOverview;
QAction *m_goBack;
QAction *m_goNext;
QLineEdit *m_searchFilter;
@@ -227,7 +226,6 @@ CallgrindToolPrivate::CallgrindToolPrivate(CallgrindTool *parent)
, m_callersView(0)
, m_calleesView(0)
, m_visualisation(0)
- , m_goToOverview(0)
, m_goBack(0)
, m_goNext(0)
, m_searchFilter(0)
@@ -300,7 +298,6 @@ void CallgrindToolPrivate::setBusy(bool busy)
void CallgrindToolPrivate::selectFunction(const Function *func)
{
if (!func) {
- m_goToOverview->setDisabled(true);
m_flatView->clearSelection();
m_visualisation->setFunction(0);
m_callersModel->clear();
@@ -308,8 +305,6 @@ void CallgrindToolPrivate::selectFunction(const Function *func)
return;
}
- m_goToOverview->setEnabled(true);
-
const QModelIndex index = m_dataModel->indexForObject(func);
const QModelIndex proxyIndex = m_proxyModel->mapFromSource(index);
m_flatView->selectionModel()->clearSelection();
@@ -750,16 +745,6 @@ QWidget *CallgrindToolPrivate::createControlWidget()
connect(action, SIGNAL(triggered(bool)), m_stackBrowser, SLOT(goNext()));
layout->addWidget(createToolButton(action));
m_goNext = action;
- // overview
-
- action = new QAction(this);
- action->setDisabled(true);
- action->setIcon(QIcon::fromTheme("go-up"));
- //action->setText(tr("All Functions"));
- action->setToolTip(tr("Show the overview of all function calls."));
- connect(action, SIGNAL(triggered(bool)), this, SLOT(slotGoToOverview()));
- layout->addWidget(createToolButton(action));
- m_goToOverview = action;
layout->addWidget(new Utils::StyledSeparator);