Am 13.03.2019 um 20:02 schrieb Jason H:
This does not give an error, but is also wrong, I think:
connect(process, QOverload<int>::of(&QProcess::finished), &loop, 
&QEventLoop::quit);


QEventLoop::quit slot does not take any parameters
What's wrong with this? The signal can have more parameters than the signal - this was always the case. But you should use the finished(int, QProcess::ExitCode) overload - the other one is deprecated and will create a compiler warning in Qt5.13 and above.

Christian
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to