mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +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
|
||||
).toUtf8().data();
|
||||
}
|
||||
else if( phrase.phrase == "about:blank"){
|
||||
//blank content
|
||||
return makeEmptyPage();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Not found
|
||||
|
|
|
@ -1725,8 +1725,6 @@ ArticleView * MainWindow::createNewTab( bool switchToIt,
|
|||
|
||||
view->setZoomFactor( cfg.preferences.zoomFactor );
|
||||
|
||||
view->showDefinition( "about:blank", Instances::Group::HelpGroupId );
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
view->installEventFilter( this );
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue