diff options
author | Pierre Rossi <pierre.rossi@nokia.com> | 2010-11-16 11:53:13 (GMT) |
---|---|---|
committer | Pierre Rossi <pierre.rossi@nokia.com> | 2010-11-16 12:12:44 (GMT) |
commit | ce06345c23d0f66bfa9cb5da1279a9efcb002474 (patch) | |
tree | 8f7e7b486ce8c876f9bda4fc35ad45928be9ae4c | |
parent | 13d471d63293b575ab6d5a6bf4abd02a69f07258 (diff) | |
download | Qt-ce06345c23d0f66bfa9cb5da1279a9efcb002474.zip Qt-ce06345c23d0f66bfa9cb5da1279a9efcb002474.tar.gz Qt-ce06345c23d0f66bfa9cb5da1279a9efcb002474.tar.bz2 |
Doc: fix a typo in QML/Qt UI integration
Reviewed-by: Geir Vattekar
-rw-r--r-- | doc/src/declarative/integrating.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/integrating.qdoc b/doc/src/declarative/integrating.qdoc index 682f792..7028585 100644 --- a/doc/src/declarative/integrating.qdoc +++ b/doc/src/declarative/integrating.qdoc @@ -47,7 +47,7 @@ qmlView->setSource(QUrl::fromLocalFile("myqml.qml")); QWidget *widget = myExistingWidget(); QVBoxLayout *layout = new QVBoxLayout(widget); -widget->addWidget(qmlView); +layout->addWidget(qmlView); \endcode The one drawback to this approach is that QDeclarativeView is slower to initialize |