Fix BUG #1031
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
parent
50bf9a570b
commit
64ffc4f61b
3 changed files with 13 additions and 1 deletions
|
|
@ -3029,7 +3029,13 @@
|
||||||
<enum-type name="State"/>
|
<enum-type name="State"/>
|
||||||
</object-type>
|
</object-type>
|
||||||
|
|
||||||
<object-type name="QAbstractState" since="4.6" />
|
<object-type name="QAbstractState" since="4.6">
|
||||||
|
<modify-function signature="machine() const">
|
||||||
|
<modify-argument index="this">
|
||||||
|
<parent index="return" action="add"/>
|
||||||
|
</modify-argument>
|
||||||
|
</modify-function>
|
||||||
|
</object-type>
|
||||||
|
|
||||||
<object-type name="QAbstractTransition" since="4.6">
|
<object-type name="QAbstractTransition" since="4.6">
|
||||||
<modify-function signature="QAbstractTransition(QState*)">
|
<modify-function signature="QAbstractTransition(QState*)">
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ PYSIDE_TEST(bug_953.py)
|
||||||
PYSIDE_TEST(bug_987.py)
|
PYSIDE_TEST(bug_987.py)
|
||||||
PYSIDE_TEST(bug_994.py)
|
PYSIDE_TEST(bug_994.py)
|
||||||
PYSIDE_TEST(bug_1019.py)
|
PYSIDE_TEST(bug_1019.py)
|
||||||
|
PYSIDE_TEST(bug_1031.py)
|
||||||
PYSIDE_TEST(blocking_signals_test.py)
|
PYSIDE_TEST(blocking_signals_test.py)
|
||||||
PYSIDE_TEST(classinfo_test.py)
|
PYSIDE_TEST(classinfo_test.py)
|
||||||
PYSIDE_TEST(child_event_test.py)
|
PYSIDE_TEST(child_event_test.py)
|
||||||
|
|
|
||||||
5
tests/QtCore/bug_1031.py
Normal file
5
tests/QtCore/bug_1031.py
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
from PySide.QtCore import QStateMachine, QState
|
||||||
|
|
||||||
|
mach = QStateMachine()
|
||||||
|
state = QState(mach)
|
||||||
|
print(state.machine())
|
||||||
Loading…
Add table
Add a link
Reference in a new issue