Fix problem with the initial empty untitled page having garbled encoding (affecting the translated page title).

This commit is contained in:
Konstantin Isakov 2011-08-01 23:50:15 -07:00
parent a7cb431c72
commit 078889dd63

View file

@ -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 )