Fixed reference leak on uiloader.

Fixes bug #392

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
renatofilho 2010-10-13 16:42:50 -03:00
commit e71b215f0b
3 changed files with 66 additions and 5 deletions

View file

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>qwidget</class>
<widget class="QWidget" name="qwidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string/>
</property>
<widget class="MyWidget" name="custom">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>79</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="MyWidget" name="custom2">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>79</width>
<height>23</height>
</rect>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>MyWidget</class>
<extends>QComboBox</extends>
<header>customwidget</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>