mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
f9a3705942
commit
701a4effb3
|
@ -1262,12 +1262,13 @@ void ArticleView::syncBackgroundColorWithCfgDarkReader() const
|
|||
#endif
|
||||
}
|
||||
|
||||
void ArticleView::openWebsiteInNewTab( QString name, QString url ) {
|
||||
void ArticleView::openWebsiteInNewTab( QString name, QString url )
|
||||
{
|
||||
QString escaped = Utils::escapeAmps( name );
|
||||
|
||||
//found existed QWebEngineView.
|
||||
//found existed QWebEngineView.
|
||||
auto * view = new QWebEngineView( this );
|
||||
view->load( QUrl(url) );
|
||||
view->load( QUrl( url ) );
|
||||
|
||||
tabWidget->addTab( view, escaped );
|
||||
}
|
||||
|
|
|
@ -4376,7 +4376,8 @@ void MainWindow::showFTSIndexingName( QString const & name )
|
|||
}
|
||||
}
|
||||
|
||||
void MainWindow::openWebsiteInNewTab( QString name, QString url ){
|
||||
void MainWindow::openWebsiteInNewTab( QString name, QString url )
|
||||
{
|
||||
// QString escaped = Utils::escapeAmps( name );
|
||||
|
||||
// auto * view = new ArticleView( this, articleNetMgr, audioPlayerFactory.player(), cfg );
|
||||
|
|
Loading…
Reference in a new issue