diff options
| author | Kai Uwe Broulik <kde@privat.broulik.de> | 2025-07-29 12:50:19 +0200 |
|---|---|---|
| committer | Kai Uwe Broulik <kde@privat.broulik.de> | 2025-07-30 16:02:01 +0200 |
| commit | 46dcf3abc2ab4c6fbf14b5e108c585ba65060806 (patch) | |
| tree | a09bf281f165d95e7e8043255cbc0a3fe1b96430 /src/gui/doc/snippets/textdocument-end/textdocumentendsnippet.cpp | |
| parent | 53f9feae1ba348a070e2121ea9d7fa369f38b3a5 (diff) | |
wayland: Skip null QPixmap in xdg-toplevel-icon
Even if the QIcon isn't null, creating a pixmap from it
can fail for any number of reasons. Trying to create
a buffer from a null pixmap will result in trying to
mmap zero size, which leads to a protocol error.
Pick-to: 6.10
Change-Id: Ia4fcbbc3e95f4ea084d54d932667e13f29c5b5f0
Reviewed-by: David Redondo <qt@david-redondo.de>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-end/textdocumentendsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
