mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05:00
This reduces boilerplate code and remove the ThemeManager dependency at Thamable subclasses level.
15 lines
306 B
C++
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);
|
|
}
|