diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-08-30 20:16:03 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-08-30 20:16:03 +0200 |
commit | 470b6dbc843594c1d7288c207c96b5eaaa151961 (patch) | |
tree | 964ae0ff8530d74cee237ea8e5257cd0d8598ae3 /src | |
parent | 423b99cca5a846d5833f23bd945ddcce29966644 (diff) |
widget/wkey: Use new ControlFlag::AllowMissingOrInvalid value
Diffstat (limited to 'src')
-rw-r--r-- | src/widget/wkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/wkey.cpp b/src/widget/wkey.cpp index 4086fad76d..59a6fcbdaf 100644 --- a/src/widget/wkey.cpp +++ b/src/widget/wkey.cpp @@ -9,7 +9,7 @@ WKey::WKey(const QString& group, QWidget* pParent) m_engineKeyDistance(group, "visual_key_distance", this, - ControlFlag::AllowInvalidKey | ControlFlag::NoAssertIfMissing) { + ControlFlag::AllowMissingOrInvalid) { setValue(m_dOldValue); m_keyNotation.connectValueChanged(this, &WKey::keyNotationChanged); m_engineKeyDistance.connectValueChanged(this, &WKey::setCents); |