qtconnectivity/examples
Ivan Solovev aa5eb09530 NdefEditor: do not clear the existing message before reading
The read operation can be cancelled, or might fail for some reason.
In this case, the user does not expect the existing entries to be
deleted, so do not clear the message before reading.

If the read is successful, the existing message is replaced by the
new one, so no action is required here.

Update the example documentation to clarify this behavior.

Amends 115b4d947a.

Fixes: QTBUG-120410
Change-Id: Ibaf00fb3c661abcc39b5d758e57ee5a837c0e270
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
(cherry picked from commit b55674cbab)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ee3e3cfc26)
(cherry picked from commit 23bdae7d62)
2024-01-06 09:20:57 +00:00
..
bluetooth Doc: Use the \examplecategory macro to tag examples 2023-04-11 15:52:25 +00:00
nfc NdefEditor: do not clear the existing message before reading 2024-01-06 09:20:57 +00:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 15:42:36 +02:00
examples.pro make use of qtHaveModule() 2013-01-04 09:37:58 +01:00