mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
fix: dictd's description display (00databaseinfo)
This commit is contained in:
parent
1c2f93e393
commit
997f24d62f
|
@ -426,8 +426,7 @@ QString const & DictdDictionary::getDescription()
|
||||||
sptr< Dictionary::DataRequest > req = getArticle( U"00databaseinfo", vector< wstring >(), wstring(), false );
|
sptr< Dictionary::DataRequest > req = getArticle( U"00databaseinfo", vector< wstring >(), wstring(), false );
|
||||||
|
|
||||||
if ( req->dataSize() > 0 ) {
|
if ( req->dataSize() > 0 ) {
|
||||||
dictionaryDescription = Html::unescape( QString::fromUtf8( req->getFullData().data(), req->getFullData().size() ),
|
dictionaryDescription = QString::fromUtf8( req->getFullData().data(), req->getFullData().size() );
|
||||||
Html::HtmlOption::Keep );
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
dictionaryDescription = "NONE";
|
dictionaryDescription = "NONE";
|
||||||
|
|
Loading…
Reference in a new issue