diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-09-25 11:53:46 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-09-25 20:22:17 +0000 |
commit | 3cbb89fa5a79977a37c4aa99ace0adba3cd73b42 (patch) | |
tree | 076170136e647f1787c7256a596ede240de0c889 /LGPL_EXCEPTION.txt | |
parent | f322e2aa08d7d2c1e65c50b6e3c10a336c2f2959 (diff) |
tst_qprocess: Instantiate QProcess objects on the stack.
Instantiate the QProcess object on the stack to ensure resource
cleanup and remove the QProcess * member variable.
Use qobject_cast<QProcess *>(QObject::sender()) instead
of the member variable in the helpers slots to ensure that signals
from a leaked QProcess do not interfere with other tests.
Task-number: QTBUG-47370
Change-Id: Ifc0dccb7e4b18069d236df53bccdcb6a47df6346
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions