aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/localstorage
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@qt.io>2020-11-20 14:30:21 +0100
committerJerome Pasion <jerome.pasion@qt.io>2020-11-26 17:53:19 +0100
commit72746ef0ad69d589de91f43aa2043d6e47745d68 (patch)
tree4b4d187517ff09e819bdd6a1e74c70b9bd4b89a1 /src/imports/localstorage
parentf3ff873f67474d30cc04fb7b7a35e78d1c8922e3 (diff)
Doc: Remove version numbers for import statement
-recommend using the import statement without versions for Qt 6.0 -update use of \qml snippet without \QtMinorVersion -some language change to be neutral about versions Task-number: QTBUG-87155 Pick-to: 6.0 6.0.0 Change-Id: I3ac44f93aab3086c1a49de79ecc677beb4ef9180 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/imports/localstorage')
-rw-r--r--src/imports/localstorage/qquicklocalstorage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/localstorage/qquicklocalstorage.cpp b/src/imports/localstorage/qquicklocalstorage.cpp
index 0a66126fa9..4f74c9bd95 100644
--- a/src/imports/localstorage/qquicklocalstorage.cpp
+++ b/src/imports/localstorage/qquicklocalstorage.cpp
@@ -545,7 +545,7 @@ through the data.
To use the types in this module, import the module and call the
relevant functions using the \c LocalStorage type:
- \qml \QtMinorVersion
+ \qml
import QtQuick
import QtQuick.LocalStorage
@@ -575,7 +575,7 @@ using the Offline Storage API.
\section3 Open or Create a Database
-\qml \QtMinorVersion
+\qml
import QtQuick.LocalStorage as Sql
db = Sql.openDatabaseSync(identifier, version, description, estimated_size, callback(db))