* @brief Enables customize mode so subsequent workspace mutations are accepted. */
| 1668 | * @brief Enables customize mode so subsequent workspace mutations are accepted. |
| 1669 | */ |
| 1670 | static QJsonObject enableCustomizeMode(QJsonArray& steps) |
| 1671 | { |
| 1672 | const auto customize = runCommand(QStringLiteral("project.workspace.setCustomizeMode"), |
| 1673 | QJsonObject{ |
| 1674 | {QStringLiteral("enabled"), true} |
| 1675 | }); |
| 1676 | steps.append(QJsonObject{ |
| 1677 | {QStringLiteral("command"), QStringLiteral("project.workspace.setCustomizeMode")}, |
| 1678 | { QStringLiteral("ok"), customize.value(QStringLiteral("ok")).toBool()} |
| 1679 | }); |
| 1680 | return customize; |
| 1681 | } |
| 1682 | |
| 1683 | /** |
| 1684 | * @brief Orchestrates the workspace tile addition flow end-to-end. |
no test coverage detected