Fix typo in code snippet

This commit is contained in:
Sergio Martins
2022-06-19 13:48:44 +01:00
parent 84a8fd61b4
commit a705ccfe5e

View File

@@ -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
*