mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
804d8119b3
commit
1877eb74e8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue