Skip to content
Commit da71353c authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Port away from deprecated QWeakPointer API

Instead of using weakptr.data(), now weakptr.toStrongRef().data() should be
used.

oxygen/kdecoration/oxygensettingsprovider.cpp:79:48: warning: ‘T* QWeakPointer<T>::data() const
 [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on
 the returned QSharedPointer [-Wdeprecated-declarations]
 auto client = decoration->client().data();
parent 81e741f5
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