* @brief Returns the current value of the customizeWorkspaces flag. */
| 1027 | * @brief Returns the current value of the customizeWorkspaces flag. |
| 1028 | */ |
| 1029 | API::CommandResponse API::Handlers::WorkspacesHandler::customizeGet(const QString& id, |
| 1030 | const QJsonObject& params) |
| 1031 | { |
| 1032 | Q_UNUSED(params) |
| 1033 | |
| 1034 | QJsonObject result; |
| 1035 | result[QStringLiteral("enabled")] = DataModel::ProjectModel::instance().customizeWorkspaces(); |
| 1036 | return CommandResponse::makeSuccess(id, result); |
| 1037 | } |
| 1038 | |
| 1039 | /** |
| 1040 | * @brief Flips the customizeWorkspaces flag. |
nothing calls this directly
no test coverage detected