Skip to content
Commit 981796ed authored by Albert Vaca Cintora's avatar Albert Vaca Cintora
Browse files

Fix KCM reloading the plugins N times when a device was selcted

Every time a device is selected, `pluginsConfigChanged` would trigger even
if no plugins actually changed (there's a boolean to distinghish that on
the signal that we were ignoring). On top of that, we were connecting to
the signal again each time we selected a device, causing this bug to
trigger N+1 times every time a device was selected.

This is bad because `pluginsConfigChanged` would reload all the plugins,
which for some plugins even implies network calls to the connected device.
parent 3c363840
Pipeline #424426 passed with stage
in 2 minutes and 57 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment