diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-12-02 17:22:10 +0200 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2020-12-06 22:28:31 +0200 |
commit | ec02de374da3f796a2155b45779be222a90be2cd (patch) | |
tree | 35465504521bb2162506e46231f11e2754703091 /CMakeLists.txt | |
parent | 895940a42505e4383971e84954a0deaebad3dbab (diff) |
QProcess: simplify the logic around _q_processDied()
Both on Unix and Windows, _q_processDied() unconditionally releases all
resources associated with the terminated child process, resets QProcess
to the initial state, and emits finished() signal. Thus, we can omit
reporting success, which also eliminates the related checks from
callers.
Change-Id: I40e32d1a9ccc8d488be6badba934355d734a8abd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions