From fb4e65ba918014a11a333ce2e5a69bed967f2ee6 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 06:52:53 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/ui/articleview.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/articleview.cc b/src/ui/articleview.cc index 4f2f513ad3..8af4cdd113 100644 --- a/src/ui/articleview.cc +++ b/src/ui/articleview.cc @@ -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 }