summaryrefslogtreecommitdiffstats
path: root/src/skin
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-06-21 18:36:03 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-06-21 18:36:03 +0200
commit96558baf16ec91ef24621e0ca4716c33957bcd79 (patch)
tree46a20172a7c60eed9c97e3bd229582c6bfb58281 /src/skin
parentc1278323b93d602611ec7ad27b94ef4c42e6691d (diff)
control: Refactor ControlProxy and require flag to allow empty keys
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/legacyskinparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skin/legacyskinparser.cpp b/src/skin/legacyskinparser.cpp
index 6d2919c336..d1d923f4e3 100644
--- a/src/skin/legacyskinparser.cpp
+++ b/src/skin/legacyskinparser.cpp
@@ -102,7 +102,7 @@ ControlObject* controlFromConfigKey(const ConfigKey& key, bool bPersist,
}
// Don't warn if the control doesn't exist. Skins use this to create
// controls.
- ControlObject* pControl = ControlObject::getControl(key, ControlFlag::NoWarnIfMissing);
+ ControlObject* pControl = ControlObject::getControl(key, ControlFlag::NoAssertIfMissing);
if (pControl) {
if (pCreated) {