* @brief Patch optional dataset fields onto @p d; returns non-empty error string on failure. */ * @brief Returns true if @a params has @a key; records the key into @a consumed. */
| 4759 | * @brief Returns true if @a params has @a key; records the key into @a consumed. |
| 4760 | */ |
| 4761 | static bool takeParam(const QJsonObject& params, QSet<QString>& consumed, const QString& key) |
| 4762 | { |
| 4763 | if (!params.contains(key)) |
| 4764 | return false; |
| 4765 | |
| 4766 | consumed.insert(key); |
| 4767 | return true; |
| 4768 | } |
| 4769 | |
| 4770 | /** |
| 4771 | * @brief Applies title/units/widget text fields and visualization toggles to @a d. |
no test coverage detected