diff options
author | hjk <hjk@qt.io> | 2023-05-12 16:51:12 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-05-12 16:04:38 +0000 |
commit | c85b72000f2861247ba832b5a22cb3746bd709ca (patch) | |
tree | ef0181f816a3a197a89863084234e5097d817b73 /src/plugins/debugger/stackhandler.cpp | |
parent | 30af7a9503c3848ac9cb35e1aebfc28d51f41d07 (diff) |
All: Use the shorter access to aspect values in a few places
Change-Id: Ie0ff0e4e1cf4c2750897ea733dfccb743f44fa93
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/debugger/stackhandler.cpp')
-rw-r--r-- | src/plugins/debugger/stackhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp index 6a2390fcad..1fc6f04582 100644 --- a/src/plugins/debugger/stackhandler.cpp +++ b/src/plugins/debugger/stackhandler.cpp @@ -234,7 +234,7 @@ void StackHandler::setFramesAndCurrentIndex(const GdbMi &frames, bool isFull) targetFrame = i; } - bool canExpand = !isFull && (n >= debuggerSettings()->maximalStackDepth.value()); + bool canExpand = !isFull && (n >= debuggerSettings()->maximalStackDepth()); debuggerSettings()->expandStack.setEnabled(canExpand); setFrames(stackFrames, canExpand); |