From d4302811127a966ed98737126e08aaa2ec814cd9 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 6 Nov 2020 13:57:43 +0100 Subject: Doc: use correct casing for Material style name Change-Id: Ia2d10b9fd27c8e83bfd8ed8ae021391ba1df50f1 Reviewed-by: Fabian Kosmale --- .../chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc b/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc index 27b89a43..b6774439 100644 --- a/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc +++ b/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc @@ -811,11 +811,11 @@ Back in \c ContactPage.qml, we update the code to use the new type: Now we need to add the Material version of the toolbar. File selectors expect variants of a file to be in appropriately named directories that exist alongside the default version of the file. This means that we need to add a -folder named "+material" in the same directory that ChatToolBar.qml is in: +folder named "+Material" in the same directory that ChatToolBar.qml is in: the root folder. The "+" is required by \l QFileSelector as a way of ensuring that the selection feature is not accidentally triggered. -Here's \c +material/ChatToolBar.qml: +Here's \c +Material/ChatToolBar.qml: \quotefromfile chattutorial/chapter5-styling/+Material/ChatToolBar.qml \skipto import @@ -848,7 +848,7 @@ as possible. We'll test out the Material style first, so add an entry to \c qtquickcontrols2.conf that tells it to use its dark theme: \code -[material] +[Material] Primary=Indigo Accent=Indigo Theme=Dark -- cgit v1.2.3