diff options
Diffstat (limited to 'opentrack-compat/options.hpp')
-rw-r--r-- | opentrack-compat/options.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/opentrack-compat/options.hpp b/opentrack-compat/options.hpp index 20f26d26..d7101674 100644 --- a/opentrack-compat/options.hpp +++ b/opentrack-compat/options.hpp @@ -198,7 +198,10 @@ namespace options { using pbundle = std::shared_ptr<detail::opt_bundle>; - pbundle bundle(const QString& name); + inline pbundle bundle(const QString& name) + { + return detail::singleton().bundle(name); + } #define DEFINE_SLOT(t) void setValue(t datum) { store(datum); } #define DEFINE_SIGNAL(t) void valueChanged(t) |