Skip to content

Commit

Permalink
Call module emit in privacy module contructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Oct 28, 2023
1 parent 4a4c888 commit 86491e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/privacy/privacy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ Privacy::Privacy(const std::string& id, const Json::Value& config, const std::st
backend = util::PipewireBackend::PipewireBackend::getInstance();
backend->privacy_nodes_changed_signal_event.connect(
sigc::mem_fun(*this, &Privacy::onPrivacyNodesChanged));

dp.emit();
}

void Privacy::onPrivacyNodesChanged() {
Expand Down

0 comments on commit 86491e1

Please sign in to comment.