diff -uNr PyQt-x11-gpl-4.8.4.orig/QtGui/sipQtGuiQSystemTrayIcon.cpp PyQt-x11-gpl-4.8.4/QtGui/sipQtGuiQSystemTrayIcon.cpp --- PyQt-x11-gpl-4.8.4.orig/QtGui/sipQtGuiQSystemTrayIcon.cpp 2012-08-01 16:37:34.000000000 +0200 +++ PyQt-x11-gpl-4.8.4/QtGui/sipQtGuiQSystemTrayIcon.cpp 2012-08-01 17:05:45.000000000 +0200 @@ -957,8 +957,6 @@ qtgui_untrack(sipCpp); #line 959 "QtGui/sipQtGuiQSystemTrayIcon.cpp" - QSystemTrayIcon *sipCpp = reinterpret_cast(sipCppV); - if (QThread::currentThread() == sipCpp->thread()) delete sipCpp; else diff -uNr PyQt-x11-gpl-4.8.4.orig/QtGui/sipQtGuiQGraphicsScene.cpp PyQt-x11-gpl-4.8.4/QtGui/sipQtGuiQGraphicsScene.cpp --- PyQt-x11-gpl-4.8.4.orig/QtGui/sipQtGuiQGraphicsScene.cpp 2012-08-01 16:37:35.000000000 +0200 +++ PyQt-x11-gpl-4.8.4/QtGui/sipQtGuiQGraphicsScene.cpp 2012-08-01 17:26:58.000000000 +0200 @@ -4016,8 +4016,6 @@ qtgui_untrack(sipCpp); #line 4018 "QtGui/sipQtGuiQGraphicsScene.cpp" - QGraphicsScene *sipCpp = reinterpret_cast(sipCppV); - if (QThread::currentThread() == sipCpp->thread()) delete sipCpp; else