Skip to content

Commit 30d5534

Browse files
committed
type hints: remove QModelIndex.constInternalPointer
Change-Id: I204fe9a3716de359a5d75629c6757d2045e78f43 Fixes: PYSIDE-3036 Pick-to: 6.8 Reviewed-by: Cristian Maureira-Fredes <[email protected]>
1 parent de40120 commit 30d5534

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sources/pyside6/PySide6/QtCore/typesystem_core_common.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,6 +1334,8 @@
13341334
<insert-template name="return_internal_pointer" />
13351335
</inject-code>
13361336
</modify-function>
1337+
<!-- Remove const variation in favor of using internalPointer -->
1338+
<modify-function signature="constInternalPointer()const" remove="all"/>
13371339
<modify-function signature="operator QModelIndex()const">
13381340
<modify-argument index="return">
13391341
<parent index="this" action="add"/>

0 commit comments

Comments
 (0)