]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix information panel interpreting html tags
authorKai Uwe Broulik <kde@privat.broulik.de>
Wed, 9 Jan 2013 21:10:04 +0000 (22:10 +0100)
committerKai Uwe Broulik <kde@privat.broulik.de>
Wed, 9 Jan 2013 21:10:04 +0000 (22:10 +0100)
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

src/panels/information/informationpanelcontent.cpp

index 85571befd70a7660678cb62938f7e53615d4dbe8..9b0dd0092f4806695fad9137c770403ae572bfa9 100644 (file)
@@ -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);