forked from qt-creator/qt-creator
AnalyzerBase: Extract some base classes from Valgrind
This makes the view of the valgrind tools avilable for other analyzers. Change-Id: Icb28a3a6d6dbd7d437de803d50e30fada7dca0da Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -392,7 +392,7 @@ QWidget *MemcheckTool::createWidgets()
|
||||
action->setDisabled(true);
|
||||
action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_PREV)));
|
||||
action->setToolTip(tr("Go to previous leak."));
|
||||
connect(action, SIGNAL(triggered(bool)), m_errorView, SLOT(goBack()));
|
||||
connect(action, &QAction::triggered, m_errorView, &MemcheckErrorView::goBack);
|
||||
button = new QToolButton;
|
||||
button->setDefaultAction(action);
|
||||
layout->addWidget(button);
|
||||
@@ -403,7 +403,7 @@ QWidget *MemcheckTool::createWidgets()
|
||||
action->setDisabled(true);
|
||||
action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_NEXT)));
|
||||
action->setToolTip(tr("Go to next leak."));
|
||||
connect(action, SIGNAL(triggered(bool)), m_errorView, SLOT(goNext()));
|
||||
connect(action, &QAction::triggered, m_errorView, &MemcheckErrorView::goNext);
|
||||
button = new QToolButton;
|
||||
button->setDefaultAction(action);
|
||||
layout->addWidget(button);
|
||||
|
||||
Reference in New Issue
Block a user