[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: kscreen daemon race
From: Sebastian =?ISO-8859-1?Q?K=FCgler?= <sebas () kde ! org>
Date: 2016-06-01 0:08:21
Message-ID: 7935323.4Zp5497rq1 () manta
[Download RAW message or body]
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.org • http://www.kde.org
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic