Files
yacreader/YACReaderLibrary/comic_vine/scraper_checkbox.cpp
luisangelsm edd5bbc69c Make Themable pass the current Theme through applyTheme
This reduces boilerplate code and remove the ThemeManager dependency at Thamable subclasses level.
2026-02-19 18:06:31 +01:00

15 lines
306 B
C++

#include "scraper_checkbox.h"
ScraperCheckBox::ScraperCheckBox(const QString &text, QWidget *parent)
: QCheckBox(text, parent)
{
initTheme(this);
}
void ScraperCheckBox::applyTheme(const Theme &theme)
{
auto comicVineTheme = theme.comicVine;
setStyleSheet(comicVineTheme.checkBoxQSS);
}