forked from qt-creator/qt-creator
Drop unused variables and lambda captures
Also, add context to connect() expressions where we are or were capturing "this". Change-Id: I6e006ba6f83d532478018550d148ee93eca59605 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -4232,7 +4232,7 @@ void GdbEngine::handleAdapterCrashed(const QString &msg)
|
||||
void GdbEngine::createFullBacktrace()
|
||||
{
|
||||
DebuggerCommand cmd("thread apply all bt full", NeedsTemporaryStop | ConsoleCommand);
|
||||
cmd.callback = [this](const DebuggerResponse &response) {
|
||||
cmd.callback = [](const DebuggerResponse &response) {
|
||||
if (response.resultClass == ResultDone) {
|
||||
Internal::openTextEditor("Backtrace $",
|
||||
response.consoleStreamOutput + response.logStreamOutput);
|
||||
|
||||
Reference in New Issue
Block a user