[Qt-interest] Waiting for QProcess to finish without freezing GUI
Thiago Macieira
thiago.macieira at trolltech.com
Fri Jul 10 01:43:57 CEST 2009
Lars Amsel wrote:
>void MyClass::onProcessFinished(int exitCode, QProcess::ExitStatus
> status) {
> delete process;
Please don't delete the signal sender in its slots. It's bad practice and
will sooner or later cause crashes.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Software
Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090710/8491810e/attachment.bin
More information about the Qt-interest-old
mailing list