diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-09-11 12:48:47 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-02-06 09:56:01 +0100 |
| commit | 38912923dfa6ae6f119dec56b3b11ceedbc81e1b (patch) | |
| tree | ece0995808ed928e45d716f5c589709ee6573660 /sources/pyside6/PySide6/glue/qtgui.cpp | |
| parent | 7d5e988428550041ae8194a1830ddafa2166a946 (diff) | |
Adapt to 6.9
Fixes: PYSIDE-2862
Change-Id: I7cef186d1fb1e1b23cb62daa659db6fab2f460d9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtgui.cpp')
| -rw-r--r-- | sources/pyside6/PySide6/glue/qtgui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/glue/qtgui.cpp b/sources/pyside6/PySide6/glue/qtgui.cpp index d248ef2d3..aae660af7 100644 --- a/sources/pyside6/PySide6/glue/qtgui.cpp +++ b/sources/pyside6/PySide6/glue/qtgui.cpp @@ -934,6 +934,10 @@ return %CONVERTTOPYTHON[QRect](cppResult); %CPPSELF.%FUNCTION_NAME(%1, %2.size(), %2.constData(), %3, %4, %5); // @snippet qrhi-commandbuffer-setvertexinput +// @snippet qpainterstateguard-restore +%CPPSELF.restore(); +// @snippet qpainterstateguard-restore + /********************************************************************* * CONVERSIONS ********************************************************************/ |
