aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-11-13 16:36:04 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-11-20 15:40:22 +0000
commit9ab15abdb293941b41f8ec36889546e8eec38b75 (patch)
tree98b9f252018a6e1892f1a83446dae38c7594b34e /docs
parent830fb5792ae7825c4cc5ab45330f39ea7567d73b (diff)
Improve enum type operations implementation
The current implementation of the enum operations, wrongly assumes that the first element is always an enum. This patch add some logic to determinate the types we are dealing with, to allow operations like: 2 + QtCore.Qt.Key.Key_1 which were not accepted before. Float numbers are not accepted for enum operations and a test case was included. Some tests were adapted since they were wrongly implemented. Fixes: PYSIDE-830 Change-Id: I407dca2b7c39fc684dbdac19ad45d259403ebadd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions