From d7373195f0a4bc9ec22332ad5260aa22e556d2d5 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 9 Jan 2013 22:10:04 +0100 Subject: [PATCH] Fix information panel interpreting html tags Only fixes the most obvious file name, the other entries in the table probably have to be fixed in the FileMetaDataWidget. REVIEW: 108307 BUG: 262464 (cherry picked from commit 3d7d900d2830c71255ff8c02f5f7439224cd4122) --- src/panels/information/informationpanelcontent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index 85571befd7..9b0dd0092f 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -105,6 +105,7 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) : QFont font = m_nameLabel->font(); font.setBold(true); m_nameLabel->setFont(font); + m_nameLabel->setTextFormat(Qt::PlainText); m_nameLabel->setAlignment(Qt::AlignHCenter); m_nameLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);