From 1e2958e7a12de7cba30b02657c02320945bb1e3d Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Fri, 1 Oct 2010 10:18:03 +1000 Subject: Documentation: input to Qt.rgba should be from 0-1, not 0-255. --- src/declarative/qml/qdeclarativeengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12