From 9f2f97de733bbe629ef306ee3a631ee9e78c9b85 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Wed, 11 Aug 2010 11:56:40 -0300 Subject: Fixes custom code for QTabWidget. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed by Luciano Wolf Reviewed by Renato Araújo --- PySide/QtGui/typesystem_gui_common.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'PySide/QtGui') diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index e5be307fb..d784ad62f 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -3439,7 +3439,7 @@ QWidget* tab = %CPPSELF.widget(%1); if (tab) { - Shiboken::AutoDecref pyWidget(%CONVERTTOPYTHON[QWidget*](tab)); + Shiboken::AutoDecRef pyWidget(%CONVERTTOPYTHON[QWidget*](tab)); Shiboken::setParent(0, pyWidget); %CPPSELF.%FUNCTION_NAME(%1); } @@ -4257,7 +4257,7 @@ -