forked from qt-creator/qt-creator
LLDB-DAP: Remove usage of "avoid" marked function
Didn't notice the `toStringList` member function of `Environmen`. The code now is now also nicely indented. Change-Id: Id570ddc48e915d9090f9975d05761aa908311f0d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -152,8 +152,7 @@ void LldbDapEngine::handleDapInitialize()
|
|||||||
const QJsonArray commands = preRunCommands();
|
const QJsonArray commands = preRunCommands();
|
||||||
|
|
||||||
if (!isLocalAttachEngine()) {
|
if (!isLocalAttachEngine()) {
|
||||||
const QJsonArray env = QJsonArray::fromStringList(
|
const QJsonArray env = QJsonArray::fromStringList(rp.inferior.environment.toStringList());
|
||||||
rp.inferior.environment.toDictionary().toStringList());
|
|
||||||
const QJsonArray args = QJsonArray::fromStringList(rp.inferior.command.splitArguments());
|
const QJsonArray args = QJsonArray::fromStringList(rp.inferior.command.splitArguments());
|
||||||
|
|
||||||
QJsonObject launchJson{
|
QJsonObject launchJson{
|
||||||
|
Reference in New Issue
Block a user