summaryrefslogtreecommitdiff
path: root/src/assistant/assistant/bookmarkmanager.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2017-11-17 09:56:15 +0100
committerEirik Aavitsland <eirik.aavitsland@qt.io>2017-12-12 16:17:22 +0000
commit796a5e005fa1ae2bfe6f9278fc482723eb89f429 (patch)
treea4ff3c271db57f6804505828a7fe1ac00bb2995d /src/assistant/assistant/bookmarkmanager.cpp
parenta28de1b8b1848df489298b34b8330bf41a70ce40 (diff)
downloadqttools-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