qt6-bb10/examples/corelib/serialization
Edward Welbourne 637e1542cf rsslisting example: fix bug in construction of title string
The correct time to clear titleString and linkString is at the start
of the item element, to avoid not only the left-overs from a previous
item but also any stray titles and links that don't belong to any
item. The channel element, that contains the items, may also have
title and link elements. This, indeed, lead to the first entry in the
displayed table having a "Qt Blog" prefix on its blog-post's title.

Fortunately the link was already being set, usually to empty, due to
the lack of rss:about attributes on item elements.

Pick-to: 6.5
Task-number: QTBUG-111228
Change-Id: I16647e2498b58caaafa6e88ef73f0d934a1f8396
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-05-15 14:02:46 +02:00
..
cbordump Add metadata to serialization examples 2023-05-15 14:02:42 +02:00
convert Add metadata to serialization examples 2023-05-15 14:02:42 +02:00
rsslisting rsslisting example: fix bug in construction of title string 2023-05-15 14:02:46 +02:00
savegame savegame example: clarify that CBOR can be read 2023-05-15 14:02:42 +02:00
streambookmarks Add metadata to serialization examples 2023-05-15 14:02:42 +02:00
CMakeLists.txt Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00
serialization.pro Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00