diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-05-12 18:58:59 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:21 -0300 |
commit | eca2d3cd6daaaa88b783efd33dc36c7df1cf73bd (patch) | |
tree | d0c07e69224ef7e61c57383ead5b6c93e53f7aec /PySide | |
parent | 5f80e31958a7d950317f967ad56e9dbc996fa9e3 (diff) |
Fix QColor wrapper compilation on Qt4.5.
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 77d1dbb0d..6e7fb1c4f 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -1143,6 +1143,7 @@ %PYARG_0 = Py_BuildValue("(N(fffff))", createFunction, c, m, y, k, a); break; } + #if QT_VERSION >= 0x040600 case QColor::Hsl: { qreal h, s, l, a; @@ -1151,6 +1152,7 @@ %PYARG_0 = Py_BuildValue("(N(ffff))", createFunction, h, s, l, a); break; } + #endif default: %PYARG_0 = 0; } |