diff --git a/src/Config.h b/src/Config.h index fcd40944..ab7cadfe 100644 --- a/src/Config.h +++ b/src/Config.h @@ -236,9 +236,9 @@ public: * { * // disallows dockFoo to be tabbed with dockBar. * return !(source.contains(dockFoo) && target.contains(dockBar)); - * } + * }; * - * KDDockWidgets::Config::self()->setTabbingAllowedFunc(func); + * KDDockWidgets::Config::self().setTabbingAllowedFunc(func); * * @endcode */ @@ -265,9 +265,9 @@ public: * { * // disallows dockFoo to be docked to outter areas * return !((loc & KDDockWidgets::DropLocation_Outter) && source.contains(dockFoo)); - * } + * }; * - * KDDockWidgets::Config::self()->setDropIndicatorAllowedFunc(func); + * KDDockWidgets::Config::self().setDropIndicatorAllowedFunc(func); * * @endcode *