Always call these one, otherwise plugin cannot detect they are being enabled / disabled:
| 398 | // Always call these one, otherwise plugin cannot detect they are being enabled / |
| 399 | // disabled: |
| 400 | bool OrganizerProxy::onPluginSettingChanged( |
| 401 | std::function<void(QString const&, const QString& key, const QVariant&, |
| 402 | const QVariant&)> const& func) |
| 403 | { |
| 404 | return m_PluginSettingChanged.connect(func).connected(); |
| 405 | } |
| 406 | |
| 407 | bool OrganizerProxy::onPluginEnabled(std::function<void(const IPlugin*)> const& func) |
| 408 | { |