Revert "opt: customized about:blank page"

This reverts commit cee57d69ce.
This commit is contained in:
Xiao YiFang 2022-08-23 18:47:58 +08:00
parent aa12e5a232
commit f00bf25d55
2 changed files with 0 additions and 6 deletions

View file

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

View file

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