diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2021-02-23 22:53:26 +0100 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2021-02-23 22:53:26 +0100 |
commit | 016a35203d3f8951457a08687540b608c5059121 (patch) | |
tree | 527e020dd9e81f324112980d3c74e29d28084cc4 /src/control | |
parent | 651fc80569f9482b0d2b631d6fa38bc266d108f1 (diff) | |
parent | 9f4ec14f3d7befb863f9c79632b9b9b644a74616 (diff) |
Merge branch '2.3' of git@github.com:mixxxdj/mixxx.git into main
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/control.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control/control.cpp b/src/control/control.cpp index 22a79b6dce..640bcaaa79 100644 --- a/src/control/control.cpp +++ b/src/control/control.cpp @@ -102,9 +102,10 @@ QSharedPointer<ControlDoublePrivate> ControlDoublePrivate::getControl( bool bTrack, bool bPersist, double defaultValue) { - VERIFY_OR_DEBUG_ASSERT(key.isValid()) { + if (!key.isValid()) { qWarning() << "ControlDoublePrivate::getControl returning nullptr" << "for invalid ConfigKey" << key; + DEBUG_ASSERT(flags.testFlag(ControlFlag::AllowInvalidKey)); return nullptr; } |