refactor: rm direct dp.emit() call in constructor.

This commit is contained in:
yubo
2026-07-18 21:14:08 +08:00
parent 7f732f0553
commit 5b8c98729f
28 changed files with 3 additions and 41 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ waybar::modules::CustomGraph::CustomGraph(const std::string& name, const std::st
if (config.isNull()) {
spdlog::warn("There is no configuration for 'custom-graph/{}', element will be hidden", name);
}
dp.emit();
if (!config_["signal"].empty() && config_["interval"].empty() &&
config_["restart-interval"].empty()) {
waitingWorker();