Commit 45f5d268 authored by Àlex Fiestas's avatar Àlex Fiestas

Correctly disconnect from all signals from inhibition

Once the inhibitio is started we are no longer interested in any signals
from this object.
parent 25657e31
......@@ -49,7 +49,7 @@ void FdInhibitionJob::stateChanged(Inhibition::State state)
disconnect(this, SLOT(stateChanged(Inhibition::State)));
disconnect(m_inhibition, 0, this, 0);
Markdown is supported
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