mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Merge branch 'staged' into dev
This commit is contained in:
commit
6e47c9900e
|
@ -535,7 +535,19 @@ void ArticleView::loadFinished( bool result )
|
||||||
{
|
{
|
||||||
setZoomFactor( cfg.preferences.zoomFactor );
|
setZoomFactor( cfg.preferences.zoomFactor );
|
||||||
QUrl url = ui.definition->url();
|
QUrl url = ui.definition->url();
|
||||||
qDebug() << "article view loaded url:" << url.url().left( 200 );
|
qDebug() << "article view loaded url:" << url.url().left( 200 ) << result;
|
||||||
|
|
||||||
|
if( url.url() == "about:blank" )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if( !result )
|
||||||
|
{
|
||||||
|
qWarning() << "article loaded unsuccessful";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if( cfg.preferences.autoScrollToTargetArticle )
|
if( cfg.preferences.autoScrollToTargetArticle )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue