diff --git a/orderandprops.cc b/orderandprops.cc index 5be3e634..667f95af 100644 --- a/orderandprops.cc +++ b/orderandprops.cc @@ -225,10 +225,12 @@ void OrderAndProps::describeDictionary( DictListWidget * lst, QModelIndex const ui.dictionaryFileList->setPlainText( filenamesText ); - QString const& descText = dict->getDescription(); + QString descText = dict->getDescription(); if( !descText.isEmpty() && descText.compare( "NONE" ) != 0 ) { - ui.dictionaryDescription->setPlainText( descText ); + //qtbug QTBUG-112020 + descText.remove( QRegularExpression( R"(]*>)", QRegularExpression::CaseInsensitiveOption ) ); + ui.dictionaryDescription->setHtml( descText ); ui.dictionaryDescription->setVisible( true ); ui.dictionaryDescriptionLabel->setVisible( true ); ui.infoVerticalSpacer->changeSize( 0, 0, QSizePolicy::Minimum, QSizePolicy::Minimum ); diff --git a/orderandprops.ui b/orderandprops.ui index 8cfdb76f..ceb388e7 100644 --- a/orderandprops.ui +++ b/orderandprops.ui @@ -167,7 +167,7 @@ - + QFrame::NoFrame