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

Method loadThemeStyelSheet

src/mainwindow.cpp:176–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void MainWindow::loadThemeStyelSheet(Theme::ThemeMode theme)
177{
178 QFile style_file(_theme_files[theme]);
179 if (style_file.open(QIODevice::ReadOnly | QIODevice::Text)) {
180 setStyleSheet(QString::fromUtf8(style_file.readAll()));
181 }
182}
183
184void MainWindow::UIWidgetInit()
185{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected