forked from qt-creator/qt-creator
QmlProfiler: Add a "this" to capture list
Change-Id: I8bd7b0a8e488ee79262a46406f818d86326aabda Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -374,7 +374,7 @@ void QmlProfilerTool::finalizeRunControl(QmlProfilerRunControl *runControl)
|
||||
connect(runControl, &QmlProfilerRunControl::processRunning,
|
||||
d->m_profilerConnections, &QmlProfilerClientManager::connectTcpClient);
|
||||
connect(clientManager, &QmlProfilerClientManager::connectionFailed,
|
||||
runControl, [clientManager, runControl]() {
|
||||
runControl, [this, clientManager, runControl]() {
|
||||
QMessageBox *infoBox = new QMessageBox(ICore::mainWindow());
|
||||
infoBox->setIcon(QMessageBox::Critical);
|
||||
infoBox->setWindowTitle(tr("Qt Creator"));
|
||||
|
Reference in New Issue
Block a user