mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Fix problem with the initial empty untitled page having garbled encoding (affecting the translated page title).
This commit is contained in:
parent
a7cb431c72
commit
078889dd63
|
@ -159,8 +159,9 @@ ArticleView::ArticleView( QWidget * parent, ArticleNetworkAccessManager & nm,
|
|||
sptr< Dictionary::DataRequest > r = articleNetMgr.getResource( blankPage,
|
||||
contentType );
|
||||
|
||||
ui.definition->setHtml( QByteArray( &( r->getFullData().front() ),
|
||||
r->getFullData().size() ), blankPage );
|
||||
ui.definition->setHtml( QString::fromUtf8( &( r->getFullData().front() ),
|
||||
r->getFullData().size() ),
|
||||
blankPage );
|
||||
}
|
||||
|
||||
void ArticleView::setGroupComboBox( GroupComboBox const * g )
|
||||
|
|
Loading…
Reference in a new issue