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 Feb 27, 2024
1 parent 9280d85 commit fb4e65b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/articleview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1364,15 +1364,15 @@ void ArticleView::setDelayedHighlightText( QString const & text )

void ArticleView::syncBackgroundColorWithCfgDarkReader() const
{
// Only works Qt6.6.3+ https://bugreports.qt.io/browse/QTBUG-112013
#if QT_VERSION >= QT_VERSION_CHECK( 6, 3, 3 )
// Only works Qt6.6.3+ https://bugreports.qt.io/browse/QTBUG-112013
#if QT_VERSION >= QT_VERSION_CHECK( 6, 3, 3 )
if ( cfg.preferences.darkReaderMode ) {
webview->page()->setBackgroundColor( Qt::black );
}
else {
webview->page()->setBackgroundColor( Qt::white );
}
#endif
#endif
}


Expand Down

0 comments on commit fb4e65b

Please sign in to comment.