Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jun 27, 2024
1 parent 426d726 commit 124e9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/articleview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ void ArticleView::loadFinished( bool result )

void ArticleView::handleTitleChanged( QString const & title )
{
if ( !title.isEmpty() && !title.contains("://"))
if ( !title.isEmpty() && !title.contains( "://" ) )
emit titleChanged( this, title );
}

Expand Down Expand Up @@ -1444,7 +1444,7 @@ void ArticleView::setContent( const QByteArray & data, const QString & mimeType,
QString ArticleView::getTitle()
{
auto title = webview->title();
if(title.contains("://"))
if ( title.contains( "://" ) )
return {};
return webview->title();
}
Expand Down

0 comments on commit 124e9e9

Please sign in to comment.