From 29013ed214e3682ce441765b6e295c16724ecf66 Mon Sep 17 00:00:00 2001 From: Fabio D'Urso Date: Mon, 1 Jul 2013 02:02:21 +0200 Subject: Don't let HTML-like filenames be interpreted as HTML strings So that filenames that look like HTML don't get fancy-formatted when we show info about them (i.e. on hover) This patch fixes the same issue in two places: - dolphin, by setting Qt::PlainText on the status bar's label - konqueror, by escaping setStatusBarText strings emitted by DolphinPart BUG: 321778 FIXED-IN: 4.11.0 REVIEW: 111746 --- src/statusbar/dolphinstatusbar.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/statusbar') diff --git a/src/statusbar/dolphinstatusbar.cpp b/src/statusbar/dolphinstatusbar.cpp index 6f734ed4d..148919172 100644 --- a/src/statusbar/dolphinstatusbar.cpp +++ b/src/statusbar/dolphinstatusbar.cpp @@ -62,6 +62,7 @@ DolphinStatusBar::DolphinStatusBar(QWidget* parent) : // Initialize text label m_label = new QLabel(this); m_label->setWordWrap(true); + m_label->setTextFormat(Qt::PlainText); m_label->installEventFilter(this); // Initialize zoom widget -- cgit v1.3