John Levon wrote:

> On Tue, May 04, 2004 at 10:40:54PM +0100, Angus Leeming wrote:
> 
>> Thanks, John. So what's the recommended strategy to address this?
> 
> Manually save and restore the dialog state is the only one I can
> think of

Thanks, John. However, I googled for "Qt prevent signals" and it came
up with QObject::blockSignals.

>From the docs:

void QObject::blockSignals ( bool block )
Blocks signals if block is TRUE, or unblocks signals if block is
FALSE.

Emitted signals disappear into hyperspace if signals are blocked. Note
that the destroyed() signals will be emitted even if the signals for
this object have been blocked.



-- 
Angus

Reply via email to