Debugger: Drop empty lines at begin of copied backtrace

Fixes: QTCREATORBUG-26749
Change-Id: I7ecd85e45918f2fc70ad76fc3b977045a893f1d5
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2025-02-10 08:14:14 +01:00
parent ed0a77571d
commit 9261b3d63f

View File

@@ -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.