diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-10-01 00:18:03 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-10-01 00:18:03 (GMT) |
commit | 1e2958e7a12de7cba30b02657c02320945bb1e3d (patch) | |
tree | f684023a356c43fecd881f477e63993bf878f5f6 | |
parent | 0492f2249395ed4f8d86775aee18ffeb195b30b4 (diff) | |
download | Qt-1e2958e7a12de7cba30b02657c02320945bb1e3d.zip Qt-1e2958e7a12de7cba30b02657c02320945bb1e3d.tar.gz Qt-1e2958e7a12de7cba30b02657c02320945bb1e3d.tar.bz2 |
Documentation: input to Qt.rgba should be from 0-1, not 0-255.
-rw-r--r-- | src/declarative/qml/qdeclarativeengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp index 724553f..bbd3ac1 100644 --- a/src/declarative/qml/qdeclarativeengine.cpp +++ b/src/declarative/qml/qdeclarativeengine.cpp @@ -207,7 +207,7 @@ For example: import QtQuick 1.0 Text { - color: Qt.rgba(255, 0, 0, 1) + color: Qt.rgba(1, 0, 0, 1) text: Qt.md5("hello, world") } \endqml |