Bug 361932 - Text in statusbar shows leading "<qt>"
Summary: Text in statusbar shows leading "<qt>"
Status: RESOLVED FIXED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: 5.6.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-18 14:05 UTC by Burkhard Lück
Modified: 2016-06-26 14:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burkhard Lück 2016-04-18 14:05:03 UTC
master + 5.42 are affected
Comment 1 Luigi Toscano 2016-06-26 14:25:50 UTC
Git commit 9179039c028e396afb8018a5cf18f14505a0ecda by Luigi Toscano.
Committed on 26/06/2016 at 14:25.
Pushed by ltoscano into branch 'Applications/16.04'.

Clean the status bar message from the HTML part

The message for the status bar that is returned by the HTML part
is considered rich text as it starts by "<qt>", but without real
HTML tags/rich text markers. So clean it before showing it (which
means the removal of the "<qt>" prefix).
Thanks Pino for the QTextDocument hint.

FIXED-IN: 5.7.1

M  +9    -1    mainwindow.cpp
M  +1    -0    mainwindow.h

http://commits.kde.org/khelpcenter/9179039c028e396afb8018a5cf18f14505a0ecda