Call module emit in privacy module contructor

This commit is contained in:
Erik Reider 2023-10-28 16:47:06 +02:00
parent 4a4c888d7d
commit 86491e1512
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ Privacy::Privacy(const std::string& id, const Json::Value& config, const std::st
backend = util::PipewireBackend::PipewireBackend::getInstance(); backend = util::PipewireBackend::PipewireBackend::getInstance();
backend->privacy_nodes_changed_signal_event.connect( backend->privacy_nodes_changed_signal_event.connect(
sigc::mem_fun(*this, &Privacy::onPrivacyNodesChanged)); sigc::mem_fun(*this, &Privacy::onPrivacyNodesChanged));
dp.emit();
} }
void Privacy::onPrivacyNodesChanged() { void Privacy::onPrivacyNodesChanged() {