[Interest] QProcess overload slot connection

Thiago Macieira thiago.macieira at intel.com
Wed Mar 13 21:21:44 CET 2019


On Wednesday, 13 March 2019 12:02:14 PDT Jason H wrote:
> connect(process, QOverload<int>::of(&QProcess::finished), &loop,
> &QEventLoop::quit);
> 
> 
> QEventLoop::quit slot does not take any parameters
> 
> 
> What's the "right way" to connect QProcess::finished to QEventLoop::quit?

The one you listed above.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products






More information about the Interest mailing list