diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-08-30 18:22:21 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-08-30 18:24:40 +0200 |
commit | 71ba91cfd43bda2464fb7a534aad953feedf6ebf (patch) | |
tree | f772d61da530947e50f6600c30cc3763912d88c9 /src/control | |
parent | 5d3e91e2b92e865bdcd6086cf092e2ca1bb596c2 (diff) |
control: Add ControlFlag value to disable DEBUG_ASSERTs on invalid input
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/control.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/control.h b/src/control/control.h index fb7c5abfc3..da89fafb06 100644 --- a/src/control/control.h +++ b/src/control/control.h @@ -23,6 +23,7 @@ enum class ControlFlag { NoAssertIfMissing = 1 << 1, /// Don't log a warning when trying to access a non-existing CO. NoWarnIfMissing = (1 << 2) | NoAssertIfMissing, + AllowMissingOrInvalid = AllowInvalidKey | NoAssertIfMissing, }; Q_DECLARE_FLAGS(ControlFlags, ControlFlag) |