PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 294 - If the function must return a QFlags<T> and you return T, an exception is throw.
: If the function must return a QFlags<T> and you return T, an exception is throw.
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-08-11 16:46 EEST by Hugo Parente Lima
Modified: 2010-09-10 19:21 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2010-08-11 16:46:24 EEST
If the function must return a QFlags<T> and you return T, an exception is
throw, but as T is convertible to QFlags<T>, T should be a acceptable value.
Comment 1 Hugo Parente Lima 2010-08-17 11:19:45 EEST
Fixed in commits:
shiboken/08027d04146bf528ac33a0686aa1a1a81312b9a3
pyside/9a969935ccc866804574480ac41ec004646f104c