diff --git a/dictinfo.cc b/dictinfo.cc index 88e58586..15556088 100644 --- a/dictinfo.cc +++ b/dictinfo.cc @@ -48,8 +48,11 @@ void DictInfo::showInfo( sptr dict ) QString info = dict->getDescription(); - if( !info.isEmpty() && info.compare( "NONE" ) != 0 ) - ui.infoLabel->setPlainText( info ); + if( !info.isEmpty() && info.compare( "NONE" ) != 0 ) { + //qtbug QTBUG-112020 + info.remove( QRegularExpression( R"(]*>)", QRegularExpression::CaseInsensitiveOption ) ); + ui.infoLabel->setHtml( info ); + } else ui.infoLabel->clear(); diff --git a/dictinfo.ui b/dictinfo.ui index 8d5de1bb..006e82dc 100644 --- a/dictinfo.ui +++ b/dictinfo.ui @@ -176,16 +176,13 @@ - + Qt::ScrollBarAlwaysOff - - false - true