From 3bdbf4424b1618730bdc0e47b8aad82486a08eeb Mon Sep 17 00:00:00 2001 From: luisangelsm Date: Fri, 23 Jan 2026 21:45:13 +0100 Subject: [PATCH] Use local var --- YACReader/viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index 15d12ace..80ea8338 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -1023,7 +1023,7 @@ void Viewer::applyTheme(const Theme &theme) { const auto viewerTheme = theme.viewer; - updateBackgroundColor(Configuration::getConfiguration().getBackgroundColor(theme.viewer.defaultBackgroundColor)); + updateBackgroundColor(Configuration::getConfiguration().getBackgroundColor(viewerTheme.defaultBackgroundColor)); const QString textColor = viewerTheme.defaultTextColor.name(QColor::HexArgb); content->setStyleSheet(QStringLiteral("QLabel { color : %1; background: transparent; }").arg(textColor));