Skip to content

Commit

Permalink
fix: do not set the background (workaround #1450)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Apr 1, 2024
1 parent 327aff9 commit 63ef141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/articleview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ void ArticleView::syncBackgroundColorWithCfgDarkReader() const
// Only works Qt6.6.3+ https://bugreports.qt.io/browse/QTBUG-112013
#if QT_VERSION >= QT_VERSION_CHECK( 6, 6, 3 )
if ( cfg.preferences.darkReaderMode ) {
webview->page()->setBackgroundColor( Qt::black );
//webview->page()->setBackgroundColor( Qt::black );
}
else {
webview->page()->setBackgroundColor( Qt::white );
Expand Down

0 comments on commit 63ef141

Please sign in to comment.