https://bugs.kde.org/show_bug.cgi?id=508390

            Bug ID: 508390
           Summary: Documentation for `Document.lock` does not make sense;
                    references non-existent `barrierLock`
    Classification: Applications
           Product: krita
      Version First 5.2.9
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

The documentation for [`Document.lock`][1] says the following:

> In all other cases, please use barrierLock() instead!

However `barrierLock()` does not exist, although `tryBarrierLock()` does.
Despite that, if you look at the source code of the method, it in fact calls
`barrierLock()` internally.

[1]: https://api.kde.org/krita/html/classDocument.html

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to