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 Dec 5, 2023
1 parent 3eef726 commit af37fbd
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 @@ -1775,11 +1775,11 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
auto handler = saveResource( url, webview->url(), fileName );

if ( !handler->isEmpty() ) {
connect( handler, &ResourceToSaveHandler::done, this, [fileName](){
connect( handler, &ResourceToSaveHandler::done, this, [ fileName ]() {
QDesktopServices::openUrl( fileName );
} );
}
else{
else {
QDesktopServices::openUrl( fileName );
}
}
Expand Down

0 comments on commit af37fbd

Please sign in to comment.