Diffusion KWin 3092043be5a9

[platforms/x11] Fix valigrind warning copying window icon for windowed mode

Authored by davidedmundson on May 1 2020, 3:13 PM.

Description

[platforms/x11] Fix valigrind warning copying window icon for windowed mode

Summary:
windowIcon.pixmap().bits() creates and deletes the QPixmap object.

Which means data is dangling when we call m_winInfo->setIcon()

Surprisingly harmless in real life.

Test Plan: Reran kwin_wayland on X11 with valigrind

Reviewers: KWin, apol

Reviewed By: apol

Subscribers: zzag, kwin

Tags: KWin

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

Details

Committed
davidedmundsonMay 1 2020, 3:13 PM
Reviewer
apol
Differential Revision
D28667: [platforms/x11] Fix valigrind warning copying window icon for windowed mode
Parents
R108:bc1991706c66: drop unused headers
Branches
Unknown
Tags
Unknown