diff options
author | Arvid Ephraim Picciani <arvid.picciani@nokia.com> | 2010-12-01 15:57:13 +0100 |
---|---|---|
committer | Arvid Ephraim Picciani <arvid.picciani@nokia.com> | 2010-12-01 15:57:13 +0100 |
commit | b84ce82e071978849b34750fc4d797855d5fe541 (patch) | |
tree | 754bd4dd008cd447641ef3f94b76724d6881aa4b /src/plugins/debugger/stackframe.cpp | |
parent | 0ab67db58ea2824d03e6f7e10da367ad0ac0b29f (diff) | |
download | qt-creator-b84ce82e071978849b34750fc4d797855d5fe541.tar.gz |
debugger: Engine decides now if a StackFrame is considered usable
Diffstat (limited to 'src/plugins/debugger/stackframe.cpp')
-rw-r--r-- | src/plugins/debugger/stackframe.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/stackframe.cpp b/src/plugins/debugger/stackframe.cpp index da62a225d7..4054ff9bd0 100644 --- a/src/plugins/debugger/stackframe.cpp +++ b/src/plugins/debugger/stackframe.cpp @@ -45,7 +45,7 @@ namespace Internal { //////////////////////////////////////////////////////////////////////// StackFrame::StackFrame() - : level(-1), line(-1), address(0) + : level(-1), line(-1), address(0), usable(false) {} void StackFrame::clear() @@ -60,7 +60,7 @@ void StackFrame::clear() bool StackFrame::isUsable() const { - return !file.isEmpty() && QFileInfo(file).isReadable(); + return usable; } QString StackFrame::toString() const |