forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user