Skip to content
Commit bc0291f1 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Remove pointless QPointer and QWeakPointer from public api

QPointer is not cheap if it's constructed a lot, exposing QPointer in
public API is a red flag in general.

In addition to that, the associated client object cannot be just yanked,
Decoration::client() always returns a non null value, so QWeakPointer
adds no real value. The code that uses Decoration::client() calls
QWeakPointer::toStrongRef() and performs no null checks.
parent 71a9bd3b
Pipeline #353284 passed with stage
in 42 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment