On Friday 08 August 2014 14:55:41 Jason R. Kretzer wrote:
> In the end, not sure what is the "right" way to go about this. All I 
> want to do is terminate and restart a process that has triggered an error.
> 
> Thoughts?

a) don't reuse the same QProcess object
b) reuse, but don't try to start a process from inside the error signal

To accomplish (b), you need to use a queued connection and you must not use 
sender().
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to