From e4577eb6bb9308d2b84bfe66216333b001ac670b Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 13 May 2024 15:53:46 +0800 Subject: Doc: import Basic style in customization snippets This ensures that the user won't inadvertently base the customizations on top of the native styles, but also saves adding the extra code that using QtQuick.Templates would require. The first sentence of the section already states that the Basic style is in use. Fixes: QTBUG-125228 Pick-to: 6.5 6.7 Change-Id: I191f1664ab0dcf190e4825b98e7ec12f00de307f Reviewed-by: Richard Moe Gustavsen --- .../doc/snippets/qtquickcontrols-switchdelegate-custom.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quickcontrols/doc/snippets/qtquickcontrols-switchdelegate-custom.qml') diff --git a/src/quickcontrols/doc/snippets/qtquickcontrols-switchdelegate-custom.qml b/src/quickcontrols/doc/snippets/qtquickcontrols-switchdelegate-custom.qml index 2df83b936f..605e5476d5 100644 --- a/src/quickcontrols/doc/snippets/qtquickcontrols-switchdelegate-custom.qml +++ b/src/quickcontrols/doc/snippets/qtquickcontrols-switchdelegate-custom.qml @@ -3,7 +3,7 @@ //! [file] import QtQuick -import QtQuick.Controls +import QtQuick.Controls.Basic SwitchDelegate { id: control -- cgit v1.2.3