aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2025-02-10 08:14:14 +0100
committerhjk <[email protected]>2025-02-10 07:27:44 +0000
commit9261b3d63fa460f2e880d6c68c795ff3babdf695 (patch)
tree571a211b5673b098575a64498fb1245cb042712d /src/plugins/debugger/stackhandler.cpp
parented0a77571dfc574d0cddbc46f060acd978045d35 (diff)
Debugger: Drop empty lines at begin of copied backtrace
Diffstat (limited to 'src/plugins/debugger/stackhandler.cpp')
-rw-r--r--src/plugins/debugger/stackhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp
index 95ad7868f2d..080176605dc 100644
--- a/src/plugins/debugger/stackhandler.cpp
+++ b/src/plugins/debugger/stackhandler.cpp
@@ -384,7 +384,7 @@ static QString selectedText(QWidget *widget, bool useAll)
}
}, model, QModelIndex());
- return str;
+ return str.trimmed();
}
// Write stack frames as task file for displaying it in the build issues pane.