Fix typo in snippet

This commit is contained in:
Sergio Martins
2022-06-02 14:43:39 +01:00
parent 90ad1a7f23
commit b2b75cd5bb

View File

@@ -237,9 +237,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
*/
@@ -266,9 +266,9 @@ public:
* {
* // disallows dockFoo to be docked to outer areas
* return !((loc & KDDockWidgets::DropLocation_Outter) && source.contains(dockFoo));
* }
* };
*
* KDDockWidgets::Config::self()->setDropIndicatorAllowedFunc(func);
* KDDockWidgets::Config::self().setDropIndicatorAllowedFunc(func);
*
* @endcode
*