[Interest] Crash when signal fires

Thiago Macieira thiago.macieira at intel.com
Wed Apr 22 17:17:06 CEST 2020


On Tuesday, 21 April 2020 16:44:19 PDT Ben Haller via Interest wrote:
>     connect(qApp, &QApplication::focusChanged, [this]() {
> updateUIEnabling(); });

Your object probably outlived QApplication.

Add a third argument of "this" to the connect() call.

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





More information about the Interest mailing list