mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Revert "opt: customized about:blank page"
This reverts commit cee57d69ce
.
This commit is contained in:
parent
aa12e5a232
commit
f00bf25d55
|
@ -267,10 +267,6 @@ sptr< Dictionary::DataRequest > ArticleMaker::makeDefinitionFor(
|
||||||
#endif
|
#endif
|
||||||
).toUtf8().data();
|
).toUtf8().data();
|
||||||
}
|
}
|
||||||
else if( phrase.phrase == "about:blank"){
|
|
||||||
//blank content
|
|
||||||
return makeEmptyPage();
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Not found
|
// Not found
|
||||||
|
|
|
@ -1725,8 +1725,6 @@ ArticleView * MainWindow::createNewTab( bool switchToIt,
|
||||||
|
|
||||||
view->setZoomFactor( cfg.preferences.zoomFactor );
|
view->setZoomFactor( cfg.preferences.zoomFactor );
|
||||||
|
|
||||||
view->showDefinition( "about:blank", Instances::Group::HelpGroupId );
|
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
view->installEventFilter( this );
|
view->installEventFilter( this );
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue