MCPcopy Create free account
hub / github.com/YACReader/yacreader / updateBackgroundColor

Method updateBackgroundColor

YACReader/viewer.cpp:1579–1584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1577}
1578
1579void Viewer::updateBackgroundColor(const QColor &color)
1580{
1581 QPalette palette;
1582 palette.setColor(backgroundRole(), color);
1583 setPalette(palette);
1584}
1585
1586void Viewer::applyTheme(const Theme &theme)
1587{

Callers

nothing calls this directly

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected