All: Use the shorter access to aspect values in a few places

Change-Id: Ie0ff0e4e1cf4c2750897ea733dfccb743f44fa93
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-05-12 16:51:12 +02:00
parent 30af7a9503
commit c85b72000f
21 changed files with 61 additions and 58 deletions

View File

@@ -469,7 +469,7 @@ void LldbEngine::selectThread(const Thread &thread)
DebuggerCommand cmd("selectThread");
cmd.arg("id", thread->id());
cmd.callback = [this](const DebuggerResponse &) {
fetchStack(debuggerSettings()->maximalStackDepth.value());
fetchStack(debuggerSettings()->maximalStackDepth());
};
runCommand(cmd);
}
@@ -701,7 +701,7 @@ void LldbEngine::updateAll()
DebuggerCommand cmd("fetchThreads");
cmd.callback = [this](const DebuggerResponse &response) {
threadsHandler()->setThreads(response.data);
fetchStack(debuggerSettings()->maximalStackDepth.value());
fetchStack(debuggerSettings()->maximalStackDepth());
reloadRegisters();
};
runCommand(cmd);