diff options
| author | Marius Kittler <mariuskittler@gmx.de> | 2024-04-12 10:26:33 +0200 |
|---|---|---|
| committer | Marius Kittler <mariuskittler@gmx.de> | 2024-04-22 14:48:50 +0000 |
| commit | 30061e8960eb9d8abb8a98270e3e92beef60d7d3 (patch) | |
| tree | f15b0818891704754eeb4e125a00964764b81af0 /src/tools/uic/python/pythonwriteimports.cpp | |
| parent | 840cc2a6d8d19b3c96996dd0d471a43a84987e53 (diff) | |
Avoid crash with Windows 11 style when no widget passed
The documentation of `QStyle::drawControl()` states that
"The widget argument is optional" so it must not be used
unconditionally.
Pick-to: 6.7
Change-Id: I8b5a8ed421c0ae2c667925e448c9a029b6deedfd
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/tools/uic/python/pythonwriteimports.cpp')
0 files changed, 0 insertions, 0 deletions
