On Wednesday 01 June 2016 00:05:10 Mark Gaiser wrote:
> Perhaps blockSignals can help you out [1]?
> 
> object->blockSignals(true);
> // ...
> Write your changes
> // ...
> object->blockSignals(false);
> 
> Object should be the object that currently receives the notification that
> the config file has been changed i think.
> 
> [1] http://doc.qt.io/qt-5/qobject.html#blockSignals 

That is essentially already what's happening, the problem is that signals come 
in after unblocking them.
-- 
sebas

Sebastian Kügler    •    http://vizZzion.orghttp://www.kde.org
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to