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
This commit is contained in:
Kai Uwe Broulik 2013-01-09 22:10:04 +01:00
parent 804d8119b3
commit 1877eb74e8

View file

@ -105,6 +105,7 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) :
QFont font = m_nameLabel->font(); QFont font = m_nameLabel->font();
font.setBold(true); font.setBold(true);
m_nameLabel->setFont(font); m_nameLabel->setFont(font);
m_nameLabel->setTextFormat(Qt::PlainText);
m_nameLabel->setAlignment(Qt::AlignHCenter); m_nameLabel->setAlignment(Qt::AlignHCenter);
m_nameLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); m_nameLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);