Skip to content

Commit 58aa8a4

Browse files
committed
removed event() method from QClipboard and QWebFrame to avoid deriving from these classes, since they have private destructors
1 parent 4271872 commit 58aa8a4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

generator/typesystem_gui.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4539,6 +4539,7 @@ PyObject* constScanLine(QImage* image, int line) {
45394539
<include file-name="QImage" location="global"/>
45404540
<include file-name="QPixmap" location="global"/>
45414541
</extra-includes>
4542+
<modify-function signature="event(QEvent*)" remove="all"/>
45424543
<modify-function signature="setMimeData(QMimeData *, QClipboard::Mode)">
45434544
<modify-argument index="1">
45444545
<define-ownership class="java" owner="c++"/>

generator/typesystem_webkit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<reference-count action="ignore"/>
4747
</modify-argument>
4848
</modify-function>
49+
<modify-function signature="event(QEvent*)" remove="all"/>
4950
</object-type>
5051
<object-type name="QWebPage::ExtensionOption"/>
5152
<object-type name="QWebPage::ChooseMultipleFilesExtensionOption"/>

0 commit comments

Comments
 (0)