MCPcopy Create free account
hub / github.com/cc20110101/RedisView / setTheme

Method setTheme

src/RedisView/AppView/MainWindow.cpp:499–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void MainWindow::setTheme(QString theme) {
500 PubLib::setConfig("Theme",theme);
501 Global::gTheme = theme;
502 QMessageBox::about(this, tr("提示"), tr("主题设置成功,重启生效!"));
503}
504
505void MainWindow::setThemeIcon() {
506 if(Global::gTheme == DARK_THEME) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected