fix broken clang-format to run pipeline

This commit is contained in:
Lars Niesen
2024-10-30 17:48:35 +01:00
parent f9acc1fed9
commit 1e481b7ac0
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ int main(int argc, char* argv[]) {
std::signal(SIGUSR1, SIG_IGN);
std::signal(SIGUSR2, SIG_IGN);
std::signal(SIGINT, SIG_IGN);
std::signal(SIGINT, SIG_IGN);
delete client;
return ret;

View File

@ -77,7 +77,7 @@ auto waybar::modules::Temperature::update() -> void {
} else if (warning) {
format = config_["format-warning"].isString() ? config_["format-warning"].asString() : format;
label_.get_style_context()->add_class("warning");
} else {
} else {
label_.get_style_context()->remove_class("critical");
label_.get_style_context()->remove_class("warning");
}