Diffusion KWin 348232e68278

Remove usage of QWeakPointer for QObject for thumbnails

Authored by gladhorn on Aug 10 2019, 11:31 AM.

Description

Remove usage of QWeakPointer for QObject for thumbnails

Summary:
This usage of QWeakPointer has been deprecated since Qt 5.0, since it
leads to really confusing API - usually you must never dereference a
QWeakPointer directly, but always go through QSharedPointer, except in
this one case, where it's permissible.

The thumbnails are only referenced in one place, this change is straight-forward.

Reviewers: KWin, romangg

Reviewed By: KWin, romangg

Subscribers: romangg, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D23070

Details

Committed
gladhornAug 10 2019, 2:24 PM
Reviewer
KWin
Differential Revision
D23070: Remove usage of QWeakPointer for QObject for thumbnails
Parents
R108:ef670c3648bf: Fix ifdefs resulting in dead code
Branches
Unknown
Tags
Unknown