diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2017-11-17 09:56:15 +0100 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2017-12-12 16:17:22 +0000 |
commit | 796a5e005fa1ae2bfe6f9278fc482723eb89f429 (patch) | |
tree | a4ff3c271db57f6804505828a7fe1ac00bb2995d /src/assistant/assistant/bookmarkmanager.cpp | |
parent | a28de1b8b1848df489298b34b8330bf41a70ce40 (diff) | |
download | qttools-796a5e005fa1ae2bfe6f9278fc482723eb89f429.tar.gz |
Assistant: Fix search results for content in .txt files
The search index writer would treat all input files as html. This led
to .txt files being stored with empty titles (no <title> tag would be
found). That again led to unusable search results in Assistant,
showing only the snippet, but no clickable title link.
Fix by special casing for .txt files, using the file name as title,
just as QHelpGenerator does.
Task-number: QTBUG-62250
Change-Id: Id82a780dadc2d4ff5866a565337f86c798b952a5
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/assistant/assistant/bookmarkmanager.cpp')
0 files changed, 0 insertions, 0 deletions