summaryrefslogtreecommitdiffstats
path: root/src/control/controlobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/controlobject.h')
-rw-r--r--src/control/controlobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/control/controlobject.h b/src/control/controlobject.h
index d36b2add69..4d542e6c4d 100644
--- a/src/control/controlobject.h
+++ b/src/control/controlobject.h
@@ -33,6 +33,9 @@ class ControlObject : public QObject {
return getControl(key, flags);
}
+ // Checks whether a ControlObject exists or not
+ static bool exists(const ConfigKey& key);
+
QString name() const {
return m_pControl ? m_pControl->name() : QString();
}