MCPcopy Create free account
hub / github.com/SeaEpoch/MouseClick / LoadThemeStyleSheet

Method LoadThemeStyleSheet

src/modules/nav_pages/navpage.cpp:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void NavPage::LoadThemeStyleSheet(Theme::ThemeMode theme)
33{
34 QFile style_file(getThemeFiles(theme));
35 if (style_file.open(QIODevice::ReadOnly | QIODevice::Text)) {
36 setStyleSheet(QString::fromUtf8(style_file.readAll()));
37 }
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected