From 370b98690aab6d022d9c9c0afafd5552ab6928c1 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 9 May 2011 10:29:02 +0200 Subject: doc: Fixed a QML snippet reference Also updated the Config class for reuse. --- doc/src/declarative/qmlviews.qdoc | 2 +- tools/qdoc3/config.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/declarative/qmlviews.qdoc b/doc/src/declarative/qmlviews.qdoc index 53ce4b9..89caa90 100644 --- a/doc/src/declarative/qmlviews.qdoc +++ b/doc/src/declarative/qmlviews.qdoc @@ -59,7 +59,7 @@ Views display \l{qml-data-models}{models} onto the screen. A model could be a si To assign a model to a view, bind the view's \c model property to a model. \snippet doc/src/snippets/declarative/listview.qml model -\snippet doc/src/snippets/declarative/listview.qml model +\snippet doc/src/snippets/declarative/listview.qml view For more information, consult the \l {QML Data Models} article. diff --git a/tools/qdoc3/config.cpp b/tools/qdoc3/config.cpp index eaec327..06931ec 100644 --- a/tools/qdoc3/config.cpp +++ b/tools/qdoc3/config.cpp @@ -696,6 +696,7 @@ void Config::load(Location location, const QString& fileName) } while (isMetaKeyChar(c)); QStringList keys = stack.getExpanded(location); + qDebug() << "KEYS:" << keys; SKIP_SPACES(); if (keys.count() == 1 && keys.first() == "include") { -- cgit v0.12